CVE-2022-2796 Cross-site Scripting (XSS) - Stored in pimcore/pimcore
Stored Cross-Site Scripting in Pimcore allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2796?
CVE-2022-2796 is a medium-severity cross-site scripting vulnerability in Pimcore Pimcore, published on 23 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository pimcore/pimcore prior to 10.5.4.
Weakness: CWE-79
Which versions are affected by CVE-2022-2796?
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.5.4 |
pimcore/pimcore Packagist | All versions | 10.5.4 |
Products include Pimcore Pimcore.
How do I fix CVE-2022-2796?
Upgrade pimcore/pimcore to 10.5.4 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-2022-2796 being exploited?
There is no known exploitation of CVE-2022-2796 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-pr4f-4pcx-2r3h.