Critical severity9.8NVD Advisory· Published Jan 13, 2021· Updated Jun 17, 2026
CVE-2021-23899
CVE-2021-23899
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.mikesamuel:json-sanitizerMaven | < 1.2.2 | 1.2.2 |
Affected products
3- OWASP/json-sanitizerdescription
Patches
Vulnerability mechanics
References
5- github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247envdPatchThird Party AdvisoryWEB
- github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-mm8j-9x84-m9cvghsaADVISORY
- groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-23899ghsaADVISORY
News mentions
0No linked articles in our index yet.