CVE-2020-35125: Mautic is vulnerable to XSS vulnerability
Impact This is a cross-site scripting vulnerability which affects every version of Mautic and could allow an attacker unauthorised administrator level access to Mautic. This vulnerability was reported by Naveen Sunkavally at Horizon3.ai. Patches Upgrade to 3.2.4 or 2.16.5.
Published May 15, 2024
Affected packages
mautic/core
- Ecosystem
- Composer (PHP)
- Affected
- < 2.16.5
- Fixed in
- 2.16.5
- Check
composer show mautic/core
mautic/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 3.0.0, < 3.2.4
- Fixed in
- 3.2.4
- Check
composer show mautic/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
This is a cross-site scripting vulnerability which affects every version of Mautic and could allow an attacker unauthorised administrator level access to Mautic.
This vulnerability was reported by Naveen Sunkavally at Horizon3.ai.
Patches
Upgrade to 3.2.4 or 2.16.5.
Link to patch for 2.x versions: https://github.com/mautic/mautic/compare/2.16.4...2.16.5.diff
Link to patch for 3.x versions: https://github.com/mautic/mautic/compare/3.2.2...3.2.4.diff
Workarounds
None
For more information
If you have any questions or comments about this advisory:
- Post in https://forum.mautic.org/c/support
- Email us at [email protected]
Credited to nvn1729.
References
- https://github.com/mautic/mautic/security/advisories/GHSA-42q7-95j7-w62m
- https://nvd.nist.gov/vuln/detail/CVE-2020-35125
- https://forum.mautic.org/c/announcements/16
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2020-35125.yaml
- https://packagist.org/packages/mautic/core
- https://www.horizon3.ai/disclosures/mautic-unauth-xss-to-rce
- https://www.mautic.org/blog/community/security-release-all-versions-mautic-prior-2-16-5-and-3-2-4
- https://github.com/advisories/GHSA-42q7-95j7-w62m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-9558
Mautic has Server-Side Template Injection (SSTI) in Theme Templates
critical9.9No fixJul 2, 2026CVE-2026-9559
Mautic vulnerable to Path Traversal via Campaign Import
critical9.9Jul 2, 2026CVE-2025-13828
Mautic user without privileged access to the Marketplace can install and uninstall composer packages
critical9.0Dec 2, 2025CVE-2024-47051
Mautic allows Remote Code Execution and File Deletion in Asset Uploads
critical9.1Feb 26, 2025
