CVE-2021-4081 Cross-site Scripting (XSS) - Reflected in pimcore/pimcore

Medium 5.5 Published Updated

Attackers can inject malicious scripts into Pimcore web pages, potentially stealing user sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4081?

CVE-2021-4081 is a medium-severity cross-site scripting vulnerability in Pimcore Pimcore, published on 10 Dec 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

pimcore is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Weakness: CWE-79

Which versions are affected by CVE-2021-4081?

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

PackageAffectedFixed in
pimcore/pimcore PackagistAll versions10.2.6
pimcore/pimcore PackagistAll versions10.2.6

Products include Pimcore Pimcore.

How do I fix CVE-2021-4081?

Upgrade pimcore/pimcore to 10.2.6 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-4081 being exploited?

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

All Pimcore Pimcore vulnerabilities

Sources

Also known as GHSA-3p85-p4qg-hcrp.

Is CVE-2021-4081 in your software?

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

Check your SBOMs for free