CVE-2024-47058 Cross-site Scripting (XSS) - stored (edit form HTML field)
Attackers with form edit access can inject stored XSS to steal session data from users of the Mautic marketing automation platform.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-47058?
CVE-2024-47058 is a low-severity cross-site scripting vulnerability in Mautic, published on 18 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
With access to edit a Mautic form, the attacker can add Cross-Site Scripting stored in the html filed. This could be used to steal sensitive information from the user's current session.
Weakness: CWE-79
Which versions are affected by CVE-2024-47058?
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-beta | 4.4.13 |
mautic/core Packagist | From 1.0.0-beta | 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-beta | 4.4.13 |
mautic/core-lib Packagist | From 1.0.0-beta | 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-2024-47058?
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-2024-47058 being exploited?
There is no known exploitation of CVE-2024-47058 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-xv68-rrmw-9xwf.