CVE-2021-27917 XSS in contact tracking and page hits report

High 7.3 Published Updated

Stored XSS in contact tracking and page hits reports allows attackers to execute scripts in victim browsers, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-27917?

CVE-2021-27917 is a high-severity cross-site scripting vulnerability in Mautic, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Prior to this patch, a stored XSS vulnerability existed in the contact tracking and page hits report.

Weakness: CWE-79

Which versions are affected by CVE-2021-27917?

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-beta44.4.13
mautic/core PackagistFrom 1.0.0-beta44.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-beta44.4.13
mautic/core-lib PackagistFrom 1.0.0-beta44.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-2021-27917?

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-2021-27917 being exploited?

There is no known exploitation of CVE-2021-27917 in the wild and no public exploit code.

Sources

Also known as GHSA-xpc5-rr39-v8v2.

Is CVE-2021-27917 in your software?

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

Check your SBOMs for free