{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.2.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c999c7f93096f927273c87bf439d7a992e3a39dc"
            },
            {
              "fixed": "a37f594f7378a1c76b3283e0dab9e1ab1dc0247e"
            }
          ],
          "repo": "https://github.com/owasp/json-sanitizer",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OWASP json-sanitizer before 1.2.2 may emit closing SCRIPT tags and CDATA section delimiters for crafted input. This allows an attacker to inject arbitrary HTML or XML into embedding documents.",
  "id": "CVE-2021-23899",
  "modified": "2026-03-13T21:47:34.425686452Z",
  "published": "2021-01-13T16:15:14.413Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}