CVE-2018-8071 XSS vulnerability in theme config file in Mautic

Medium 6.1 Published Updated

Attackers can inject malicious scripts via theme config files in Mautic, potentially leading to session hijacking or code execution.

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-2018-8071?

CVE-2018-8071 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Apr 2018. 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

Mautic before v2.13.0 has stored XSS via a theme config file.

Weakness: CWE-79

Which versions are affected by CVE-2018-8071?

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

PackageAffectedFixed in
mautic/core PackagistAll versions2.13.0
mautic/core PackagistAll versions2.13.0

Products include Mautic Mautic.

How do I fix CVE-2018-8071?

Upgrade mautic/core to 2.13.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-2018-8071 being exploited?

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

Sources

Also known as GHSA-5w74-jx7m-x6hv.

Is CVE-2018-8071 in your software?

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

Check your SBOMs for free