CVE-2021-27917 XSS in contact tracking and page hits report
Stored XSS in contact tracking and page hits reports allows attackers to execute scripts in victim browsers, potentially leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-27917?
CVE-2021-27917 is a high-severity cross-site scripting vulnerability in Mautic, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Prior to this patch, a stored XSS vulnerability existed in the contact tracking and page hits report.
Weakness: CWE-79
Which versions are affected by CVE-2021-27917?
8 open source packages ship an affected version, including mautic/core and mautic/core-lib. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mautic/core Packagist | From 1.0.0-beta4 | 4.4.13 |
mautic/core Packagist | From 1.0.0-beta4 | 4.4.13 |
mautic/core Packagist | From 5.0.0-alpha | 5.1.1 |
mautic/core Packagist | From 5.0.0-alpha | 5.1.1 |
mautic/core-lib Packagist | From 1.0.0-beta4 | 4.4.13 |
mautic/core-lib Packagist | From 1.0.0-beta4 | 4.4.13 |
2 more packages
mautic/core-lib Packagist | From 5.0.0-alpha | 5.1.1 |
mautic/core-lib Packagist | From 5.0.0-alpha | 5.1.1 |
Products include Acquia Mautic.
How do I fix CVE-2021-27917?
Upgrade mautic/core to a fixed version for your release line: 4.4.13 or 5.1.1.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-27917 being exploited?
There is no known exploitation of CVE-2021-27917 in the wild and no public exploit code.
Other vulnerabilities in Mautic
- CVE-2022-25772 Cross-site Scripting vulnerability in Mautic's tracking pixel functionality
- CVE-2020-35125 Mautic is vulnerable to XSS vulnerability
- CVE-2020-35124 XSS vulnerability leveraged through referrers could allow un-authorized admin access in Mautic
- CVE-2024-47051 Remote Code Execution & File Deletion in Asset Uploads
- CVE-2020-35128 Mautic stored Cross-site Scripting (XSS)
Sources
Also known as GHSA-xpc5-rr39-v8v2.