CVE-2022-25774 XSS in Notifications via saving Dashboards
Logged-in users can inject malicious code into notifications via dashboard saving, enabling self-XSS attacks in Mautic.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-25774?
CVE-2022-25774 is a medium-severity cross-site scripting vulnerability in Mautic, published on 18 Sep 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Prior to the patched version, logged in users of Mautic are vulnerable to a self XSS vulnerability in the notifications within Mautic.
Users could inject malicious code into the notification when saving Dashboards.
Weakness: CWE-79
Which versions are affected by CVE-2022-25774?
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.4.12 |
mautic/core Packagist | All versions | 4.4.12 |
Products include Acquia Mautic.
How do I fix CVE-2022-25774?
Upgrade mautic/core to 4.4.12 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-25774 being exploited?
There is no known exploitation of CVE-2022-25774 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-fhcx-f7jg-jx3f.