CVE-2024-47058 Cross-site Scripting (XSS) - stored (edit form HTML field)

Low 2.9 Published Updated

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.

PackageAffectedFixed in
mautic/core PackagistFrom 1.0.0-beta4.4.13
mautic/core PackagistFrom 1.0.0-beta4.4.13
mautic/core PackagistFrom 5.0.0-alpha5.1.1
mautic/core PackagistFrom 5.0.0-alpha5.1.1
mautic/core-lib PackagistFrom 1.0.0-beta4.4.13
mautic/core-lib PackagistFrom 1.0.0-beta4.4.13
2 more packages
mautic/core-lib PackagistFrom 5.0.0-alpha5.1.1
mautic/core-lib PackagistFrom 5.0.0-alpha5.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.

Sources

Also known as GHSA-xv68-rrmw-9xwf.

Is CVE-2024-47058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free