CVE-2021-39166 Improper Neutralization of Text-Values in Object Version Preview

High 8.0 Published Updated

Authenticated users can execute arbitrary scripts via unescaped text values in the version preview feature of Pimcore.

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-39166?

CVE-2021-39166 is a high-severity cross-site scripting vulnerability in Pimcore Pimcore, published on 1 Sep 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

Pimcore is an open source data & experience management platform. Prior to version 10.1.2, text-values were not properly escaped before printed in the version preview. This allowed XSS by authenticated users with access to the resources. This issue is patched in Pimcore version 10.1.2.

Weakness: CWE-79

Which versions are affected by CVE-2021-39166?

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

PackageAffectedFixed in
pimcore/pimcore PackagistAll versions10.1.2
pimcore/pimcore PackagistAll versions10.1.2

Products include Pimcore Pimcore.

How do I fix CVE-2021-39166?

Upgrade pimcore/pimcore to 10.1.2 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-39166 being exploited?

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

All Pimcore Pimcore vulnerabilities

Sources

Also known as GHSA-w6j8-jc36-x5q9.

Is CVE-2021-39166 in your software?

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

Check your SBOMs for free