CVE-2021-27915 XSS Cross-site Scripting Stored (XSS) - Description field

High 7.6 Published Updated

A stored XSS vulnerability in Mautic's description fields allows logged-in users to execute scripts, potentially leading to elevated system access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-27915?

CVE-2021-27915 is a high-severity cross-site scripting vulnerability in Mautic, published on 17 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Prior to the patched version, there is an XSS vulnerability in the description fields within the Mautic application which could be exploited by a logged in user of Mautic with the appropriate permissions.

This could lead to the user having elevated access to the system.

Weakness: CWE-79, CWE-80

Which versions are affected by CVE-2021-27915?

2 open source packages ship an affected version, including mautic/core. It affects 1 product.

PackageAffectedFixed in
mautic/core PackagistFrom 1.0.0-beta24.4.12
mautic/core PackagistFrom 1.0.0-beta24.4.12

Products include Acquia Mautic.

How do I fix CVE-2021-27915?

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

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

Sources

Also known as GHSA-2rc5-2755-v422.

Is CVE-2021-27915 in your software?

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

Check your SBOMs for free