{"id":"CVE-2021-27908","aliases":["CVE-2021-27908","GHSA-4hjq-422q-4vpx"],"related":[],"kind":"vulnerability","state":"published","title":"Mautic vulnerable to secret data exfiltration via symfony parameters","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nSymfony 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.\n\nFor example,\n\n1. Go to Configuration page -> Landing Page Settings -> Analytics script and enter this: <`script> console.log(\"db password is: %mautic.db_password%\"); </script>`\n2. 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>`\n\nRisk rating: ModerateCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L\n\n### Patches\nUpgrade to 3.3.2\n\n### Workarounds\nNo\n\n### References\nNo\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Email us at [security@mautic.org](mailto:security@mautic.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En todas las versiones anteriores a Mautic 3.3.2, parámetros secretos, como las credenciales de la base de datos, podían ser expuestos públicamente por un usuario administrador autorizado aprovechando la sintaxis de los parámetros Symfony en cualquiera de los campos de texto libre en la configuración de Mautic que son usadas en las partes de la aplicación de cara al público","source":"nvd"}],"published":"2021-03-23T19:11:56.967Z","modified":"2026-07-08T06:29:17.817Z","severity":{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L","score":5.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L","score":5.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-74","CWE-200","CWE-732"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.3.2","status":"affected"}],"vendor":"Mautic","product":"Mautic","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.2"}],"ecosystem":"Packagist","package":"mautic/core","purl":"pkg:composer/mautic/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.2"}],"vendor":"acquia","product":"mautic","cpe":"cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-4hjq-422q-4vpx","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27908","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27908.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mautic/mautic","tags":["package"],"sources":["ghsa"]}],"credits":["Discovered by Petr Gregor, Acquia","Fixed by Miroslav Fedeles, Acquia"],"assigner":"Mautic","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27908","url":"https://www.cve.org/CVERecord?id=CVE-2021-27908","licence":"CVE Terms of Use","modified":"2024-09-16T16:23:48.079Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4hjq-422q-4vpx","url":"https://github.com/advisories/GHSA-4hjq-422q-4vpx","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:17.817Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27908","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27908","licence":"Public domain","modified":"2026-06-17T03:45:35.787Z"}],"updatedAt":"2026-11-25T22:58:00.397Z","epss":{"score":0.00345,"percentile":0.30054,"date":"2026-12-01T12:00:22.000Z"}}