{"id":"CVE-2021-23899","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-23899","generatedAt":"2026-10-27T22:26:06.167Z","title":"This allows an attacker to inject arbitrary HTML or XML into embedding documents.","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.","published":"2021-01-13T16:15:14.000Z","lastModified":"2026-06-17T03:39:00.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-611"],"affected":["owasp/json-sanitizer"],"epss":{"score":0.02093,"percentile":0.81514,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.09%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23899","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}