VulnerabilityModified
CVE-2021-23899
This allows an attacker to inject arbitrary HTML or XML into embedding documents.
CRITICAL 9.8EPSS 2.07%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.07%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.07% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-611
- Affected
- owasp/json-sanitizer
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.