{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-39170","id":"CVE-2021-39170","title":"Improper Encoding or Escaping of Output in Asset Metadata Component","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.","descriptionLong":"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.","published":"2021-09-01T14:10:12.000Z","updated":"2026-10-24T10:51:25.343145366Z","reserved":"2021-08-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"high","products":["pimcore"],"affectedProducts":[{"vendor":"pimcore","product":"pimcore","defaultStatus":null,"versions":[{"status":"affected","version":"< 10.1.2"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"pimcore/pimcore","purl":"pkg:composer/pimcore/pimcore","ranges":["<10.1.2"],"fixed":["10.1.2"],"advisory":"GHSA-2v88-qq7x-xq5f"}],"cwes":["CWE-116","CWE-79"],"aliases":["GHSA-2v88-qq7x-xq5f"],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/pimcore/pimcore/pull/10178","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/pimcore/pimcore/pull/10178.patch","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39170","tags":["advisory"]},{"url":"https://github.com/pimcore/pimcore/pull/10206","tags":["web"]},{"url":"https://github.com/pimcore/pimcore","tags":["package"]},{"url":"https://huntr.dev/bounties/c3e4cf79-a4b5-4982-af27-729f66281501","tags":["web"]},{"url":"https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01245,"epssPercentile":0.69918,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-39170","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39170","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-39170","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2v88-qq7x-xq5f","ok":true,"note":"GHSA-2v88-qq7x-xq5f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-39170","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}