{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "10.1.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "39baac34b5c4c0cf2a81108c341454b5ee7a38ba"
            }
          ],
          "repo": "https://github.com/pimcore/pimcore",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Pimcore is an open source data \u0026 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.",
  "id": "CVE-2021-39170",
  "modified": "2026-04-01T23:08:50.660446219Z",
  "published": "2021-09-01T14:15:08.023Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/pimcore/pimcore/pull/10178"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pimcore/pimcore/pull/10178.patch"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pimcore/pimcore/security/advisories/GHSA-2v88-qq7x-xq5f"
    },
    {
      "type": "FIX",
      "url": "https://huntr.dev/bounties/e4cb9cd8-89cf-427c-8d2e-37ca40099bf2/"
    }
  ],
  "related": [
    "GHSA-2v88-qq7x-xq5f"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}