XXE in Owasp Json-Sanitizer
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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (80.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 80.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2 (Patch, Third Party Advisory)
- groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0 (Third Party Advisory)
- github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-23899?
- CVE-2021-23899 is a critical-severity vulnerability in Owasp Json-Sanitizer, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 9.8/10. Published 2021-01-13.
- How severe is CVE-2021-23899?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-23899 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.