Loading HuntDB...

GHSA-4hjq-422q-4vpx

GitHub Security Advisory

Mautic vulnerable to secret data exfiltration via symfony parameters

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

### Impact
Symfony parameters (which is what Mautic transforms configuration parameters into) can be used within other Symfony parameters by design. However, this also means that an admin who is normally not privy to certain parameters, such as database credentials, could expose them by leveraging any of the free text fields in Mautic’s configuration that are used in publicly facing parts of the application.

For example,

1. Go to Configuration page -> Landing Page Settings -> Analytics script and enter this: <`script> console.log("db password is: %mautic.db_password%"); </script>`
2. Visit any landing page and open the JS dev console. You will see the following message with real instance db password: `db password is: <real password>`

Risk rating: ModerateCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L

### Patches
Upgrade to 3.3.2

### Workarounds
No

### References
No

### For more information
If you have any questions or comments about this advisory:

* Email us at [[email protected]](mailto:[email protected])

Affected Packages

Packagist mautic/core
Affected versions: 0 (fixed in 3.3.2)

Related CVEs

Key Information

GHSA ID
GHSA-4hjq-422q-4vpx
Published
April 6, 2021 5:20 PM
Last Modified
February 5, 2024 11:00 AM
CVSS Score
5.0 /10
Primary Ecosystem
Packagist
Primary Package
mautic/core
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 18, 2025 6:25 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.