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