Vulnerability Details : 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 category: XML external entity (XXE) injection
Products affected by CVE-2021-23899
- cpe:2.3:a:owasp:json-sanitizer:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23899
0.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 69 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23899
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-23899
-
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23899
-
https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0
com.mikesamuel:json-sanitizer versions < 1.2.2 vulnerable.Third Party Advisory
-
https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2
Comparing v1.2.1...v1.2.2 · OWASP/json-sanitizer · GitHubPatch;Third Party Advisory
-
https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e
Tests for fixes for previously undisclosed vulnerabilities · OWASP/json-sanitizer@a37f594 · GitHubPatch;Third Party Advisory
Jump to