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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
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
Timeline
- Published
- Jan 13, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified