{"cve":"CVE-2021-23899","nvd":{"published":"2021-01-13T16:15:14.413","modified":"2026-06-17T03:39:00.263","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-611"],"references":["https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e","https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2","https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0","https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e","https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2"],"products":["owasp:json-sanitizer"],"source":"nvd","synced_at":"2026-10-19T21:14:10.479542811+00:00"},"epss":{"cve":"CVE-2021-23899","score":0.02093,"percentile":0.81647,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mm8j-9x84-m9cv","url":"https://osv.dev/vulnerability/GHSA-mm8j-9x84-m9cv","summary":"Arbitrary code injection in json-sanitizer","modified":"2023-11-08T04:05:13.858556Z","packages":[{"ecosystem":"Maven","name":"com.mikesamuel:json-sanitizer","purl":"pkg:maven/com.mikesamuel/json-sanitizer","ranges":["<1.2.2"],"fixed":["1.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}