CVE-2021-23899
CRITICALCVSS 9.8/10EPSS 2.07%
Last modified
CVE-2021-23899 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.07% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Owasp | Json-Sanitizer | < 1.2.2 |
References
- https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247ePatch, Third Party Advisory
- https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2Patch, Third Party Advisory
- https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0Third Party Advisory
- https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247ePatch, Third Party Advisory
- https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2Patch, Third Party Advisory
- https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23899?
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.
How severe is CVE-2021-23899?
CVE-2021-23899 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.07% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23899?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23892By exploiting a time of check to time of use (TOCTOU) race c…7
- CVE-2021-23893Privilege Escalation vulnerability in a Windows system drive…7.8
- CVE-2021-23894Deserialization of untrusted data vulnerability in McAfee Da…8.8
- CVE-2021-23895Deserialization of untrusted data vulnerability in McAfee Da…8
- CVE-2021-23896Cleartext Transmission of Sensitive Information vulnerabilit…4.5
- CVE-2021-23897Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-2390Vulnerability in the MySQL Server product of Oracle MySQL (c…5.9
- CVE-2021-23900OWASP json-sanitizer before 1.2.2 can output invalid JSON or…7.5
- CVE-2021-23901An XML external entity (XXE) injection vulnerability was dis…9.1
- CVE-2021-23906An issue was discovered in the Headunit NTG6 in the MBUX Inf…6.8
- CVE-2021-23907An issue was discovered in the Headunit NTG6 in the MBUX Inf…9.8
- CVE-2021-23908An issue was discovered in the Headunit NTG6 in the MBUX Inf…9.8
Are you affected by CVE-2021-23899?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
