{"id":"CVE-2021-39170","published":"2021-09-01T14:10:12Z","modified":"2024-08-04T01:58:18Z","title":"Improper Encoding or Escaping of Output in Asset Metadata Component","vendor":"pimcore","product":"pimcore","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01245,"percentile":0.70011,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pimcore/pimcore/pull/10178","tags":["x_refsource_MISC"]},{"url":"https://github.com/pimcore/pimcore/pull/10178.patch","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2/","tags":["x_refsource_MISC"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":14.0},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"pimcore","affectedVersions":[{"vendor":"pimcore","product":"pimcore","versions":["< 10.1.2"]}],"affected":[{"ecosystem":"Packagist","package":"pimcore/pimcore","vulnerableRanges":["<10.1.2"],"patched":["10.1.2"],"from":["GHSA-2v88-qq7x-xq5f"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the asset metadata component of Pimcore, the open source data and experience management platform, allows script injection through custom metadata values on assets. An attacker with low-privilege authenticated access can plant the payload, and it executes in another user's browser when that user interacts with the affected asset (user interaction required, over the network).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:09Z"},"euvd":{"id":"EUVD-2021-1955","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-23405","published":"2021-07-09","fixed":"10.0.7","kev":false},{"cve":"CVE-2021-37702","published":"2021-08-18","fixed":"10.1.1","kev":false,"link":{"from":"CVE-2021-37702","to":"CVE-2021-39170","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pimcore/pimcore","fromFixed":"10.1.1","toFixed":"10.1.2","daysApart":14}]}},{"cve":"CVE-2021-39166","published":"2021-09-01","fixed":"10.1.2","kev":false},{"cve":"CVE-2021-39170","published":"2021-09-01","fixed":"10.1.2","kev":false},{"cve":"CVE-2021-39189","published":"2021-09-15","fixed":"10.1.3","kev":false,"link":{"from":"CVE-2021-39170","to":"CVE-2021-39189","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pimcore/pimcore","fromFixed":"10.1.2","toFixed":"10.1.3","daysApart":14},{"kind":"similar","provenance":"machine","score":0.53,"basis":"same product + description similarity"}]}},{"cve":"CVE-2021-4081","published":"2021-12-10","fixed":"10.2.6","kev":false},{"cve":"CVE-2021-4082","published":"2021-12-10","fixed":"10.2.6","kev":false}],"package":"Packagist:pimcore/pimcore"}}