CVE-2021-4081 Cross-site Scripting (XSS) - Reflected in pimcore/pimcore
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.
| Package | Affected | Fixed in |
|---|---|---|
pimcore/pimcore Packagist | All versions | 10.2.6 |
pimcore/pimcore Packagist | All versions | 10.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.
Other vulnerabilities in Pimcore Pimcore
- CVE-2022-39365 RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
- CVE-2019-18981 Pimcore Access Control Issues
- CVE-2019-18985 Pimcore 2FA Vulnerable to Brute Forcing
- CVE-2026-23492 Pimcore has a Blind SQL Injection in Admin Search Find API due to an incomplete fix for CVE-2023-30848
- CVE-2023-47637 SQL Injection in Admin Grid Filter API in Pimcore
Sources
Also known as GHSA-3p85-p4qg-hcrp.