CVE-2022-25772 Cross-site Scripting vulnerability in Mautic's tracking pixel functionality
Remote attackers can inject executable JavaScript via the web tracking component, potentially compromising user sessions or data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-25772?
CVE-2022-25772 is a critical cross-site scripting vulnerability in Mautic, published on 20 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A cross-site scripting (XSS) vulnerability in the web tracking component of Mautic before 4.3.0 allows remote attackers to inject executable javascript
Weakness: CWE-79
Which versions are affected by CVE-2022-25772?
2 open source packages ship an affected version, including mautic/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mautic/core Packagist | All versions | 4.3.0 |
mautic/core Packagist | All versions | 4.3.0 |
Products include Acquia Mautic.
How do I fix CVE-2022-25772?
Upgrade mautic/core to 4.3.0 or later.
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-2022-25772 being exploited?
There is no known exploitation of CVE-2022-25772 in the wild and no public exploit code.
Other vulnerabilities in Mautic
- 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)
- CVE-2017-8874 Mautic Cross-Site Request Forgery (CSRF)
Sources
Also known as GHSA-pjpc-87mp-4332.