Critical severityNVD Advisory· Published Jan 13, 2021· Updated Aug 3, 2024
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
2- OWASP/json-sanitizerdescription
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-mm8j-9x84-m9cvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23899ghsaADVISORY
- github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247eghsax_refsource_MISCWEB
- github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2ghsax_refsource_MISCWEB
- groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.