CVE-2019-18982 Pimcore Cross-site Scripting (XSS) vulnerability

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in the Email Log preview window due to missing Content-Security-Policy headers in Pimcore.

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-2019-18982?

CVE-2019-18982 is a medium-severity cross-site scripting vulnerability in Pimcore Pimcore, published on 15 Nov 2019. 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

bundles/AdminBundle/Controller/Admin/EmailController.php in Pimcore before 6.3.0 allows script execution in the Email Log preview window because of the lack of a Content-Security-Policy header.

Weakness: CWE-79

Which versions are affected by CVE-2019-18982?

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

PackageAffectedFixed in
pimcore/pimcore PackagistAll versions6.3.0
pimcore/pimcore PackagistAll versions6.3.0

Products include Pimcore Pimcore.

How do I fix CVE-2019-18982?

Upgrade pimcore/pimcore to 6.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-2019-18982 being exploited?

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

All Pimcore Pimcore vulnerabilities

Sources

Also known as GHSA-m4x3-xmjv-r778.

Is CVE-2019-18982 in your software?

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

Check your SBOMs for free