# CVE-2021-39170: Improper Encoding or Escaping of Output in Asset Metadata Component

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.24%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-01T14:10:12.000Z
- Modified: 2026-07-08T06:28:52.737Z
- Also known as: GHSA-2v88-qq7x-xq5f
- Weaknesses: CWE-79, CWE-116
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pimcore pimcore: < 10.1.2; before 10.1.2
- pimcore/pimcore (Packagist): before 10.1.2

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2/> (exploit, patch, third-party-advisory)
- <https://github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f> (patch, third-party-advisory, web)
- <https://github.com/pimcore/pimcore/pull/10178> (patch, third-party-advisory, web)
- <https://github.com/pimcore/pimcore/pull/10178.patch> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39170> (advisory)
- <https://github.com/pimcore/pimcore/pull/10206> (web)
- <https://github.com/pimcore/pimcore> (package)
- <https://huntr.dev/bounties/c3e4cf79-a4b5-4982-af27-729f66281501> (web)
- <https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2> (web)

## Sources

- CVE List: [CVE-2021-39170](https://www.cve.org/CVERecord?id=CVE-2021-39170), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2v88-qq7x-xq5f](https://github.com/advisories/GHSA-2v88-qq7x-xq5f), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39170](https://nvd.nist.gov/vuln/detail/CVE-2021-39170), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39170 · Whole record: https://cve.day/CVE-2021-39170.json · Rebuilt by cve.day 2026-11-25T22:58:03.593Z
