CVE-2021-23899: owasp json-sanitizer
CVSS: 9.8v3.1CriticalModified
AliasesGHSA-mm8j-9x84-m9cv
Published 13-01-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-23899 is a critical (CVSS 9.8) vulnerability in owasp json-sanitizer. EPSS estimates a 2.09% chance of exploitation in the next 30 days, higher than 81.3% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
2.09%
0%100%
Low · +0.03 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 13-01-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.09%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
+0.03 pp
From 2.07% on 18-09-2026
18-09-202618-10-2026
EPSS score2.09%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Com.mikesamuel1 product
- json-sanitizer< 1.2.2
Owasp1 product
- json-sanitizer< 1.2.2
2 vendors · 2 products
References
4 links- github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247eX Refsource MISCWEBPatchThird Party Advisory