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.
References
Link | Resource |
---|---|
https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e | Patch Third Party Advisory |
https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2 | Patch Third Party Advisory |
https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-01-13 16:15
Updated : 2024-02-28 18:08
NVD link : CVE-2021-23899
Mitre link : CVE-2021-23899
CVE.ORG link : CVE-2021-23899
JSON object : View
Products Affected
owasp
- json-sanitizer
CWE
CWE-611
Improper Restriction of XML External Entity Reference