CVE-2022-25772 Cross-site Scripting vulnerability in Mautic's tracking pixel functionality

Critical 9.6 Published Updated

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.

PackageAffectedFixed in
mautic/core PackagistAll versions4.3.0
mautic/core PackagistAll versions4.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.

Sources

Also known as GHSA-pjpc-87mp-4332.

Is CVE-2022-25772 in your software?

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

Check your SBOMs for free