CVE-2020-35128 Mautic stored Cross-site Scripting (XSS)

Critical 9.0 Published Updated

Stored XSS in Mautic allows attackers with company management permissions to execute scripts, potentially taking over admin accounts and modifying user data.

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-2020-35128?

CVE-2020-35128 is a critical cross-site scripting vulnerability in n/a, published on 19 Jan 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Mautic before 3.2.4 is affected by stored XSS. An attacker with permission to manage companies, an application feature, could attack other users, including administrators. For example, by loading an externally crafted JavaScript file, an attacker could eventually perform actions as the target user. These actions include changing the user passwords, altering user or email addresses, or adding a new administrator to the system.

Weakness: CWE-79

Which versions are affected by CVE-2020-35128?

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

PackageAffectedFixed in
mautic/core PackagistFrom 2.0.02.16.5
mautic/core PackagistFrom 2.0.02.16.5
mautic/core PackagistFrom 3.2.03.2.4
mautic/core PackagistFrom 3.2.03.2.4

Products include Acquia Mautic.

How do I fix CVE-2020-35128?

Upgrade mautic/core to a fixed version for your release line: 2.16.5 or 3.2.4.

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-2020-35128 being exploited?

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

Sources

Also known as CVE-2021-3142, GHSA-98j2-3jv7-274m.

Is CVE-2020-35128 in your software?

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

Check your SBOMs for free