What’s Vulnerable › Vulnerabilities
CVE-2021-39170: Improper Encoding or Escaping of Output in Asset Metadata Component
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-09-01 · updated 2026-06-17
- Weakness: CWE-116
Description
Pimcore is an open source data & experience management platform. Prior to version 10.1.2, an authenticated user could add XSS code as a value of custom metadata on assets. There is a patch for this issue in Pimcore version 10.1.2. As a workaround, users may apply the patch manually.
Affected products
- pimcore/pimcore: before 10.1.2 — fixed in 10.1.2
How to fix
Upgrade to a fixed version: pimcore/pimcore 10.1.2. Check the vendor advisory for mitigations.
References
- https://github.com/pimcore/pimcore/pull/10178
- https://github.com/pimcore/pimcore/pull/10178.patch
- https://github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f
- https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2/
- https://github.com/pimcore/pimcore/pull/10178
- https://github.com/pimcore/pimcore/pull/10178.patch
- https://github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f
- https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2/
Get alerted when CVE-2021-39170 or the next vulnerability affects your stack