CVE-2021-27908
lowpriority · track · 18EPSS 0.003 · 28 %ileEUUSEPSS · scored 2026-10-27
In all versions prior to Mautic 3.3.2, secret parameters such as database credentials could be exposed publicly by an authorized admin user through leveraging Symfony parameter syntax in any of the free text fields in Mautic’s configuration that are used in publicly facing parts of the application.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.1–5.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-4hjq-422q-4vpxMautic vulnerable to secret data exfiltration via symfony parameters2021-04-06ghsa · osvUS
### 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 [security@mautic.org](mailto:security@mautic.org)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/mautic/mautic/security/advisories/GHSA-4hjq-422q-4vpxcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-27908cnnvd
- https://github.com/mautic/mautic/security/advisories/GHSA-4hjq-422q-4vpxenisa_euvd
- https://github.com/mautic/mautic/security/advisories/GHSA-4hjq-422q-4vpxExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan