OWASP json-sanitizer before 1.2.1 allows XSS. An attacker who controls a substring of the input JSON, and controls another substring adjacent to a SCRIPT element in which the output is embedded as JavaScript, may be able to confuse the HTML parser as to where the SCRIPT element ends, and cause non-script content to be interpreted as JavaScript.
References
Link | Resource |
---|---|
https://github.com/OWASP/json-sanitizer/pull/20 | Exploit Third Party Advisory |
https://github.com/OWASP/json-sanitizer/pull/20 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:02
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/OWASP/json-sanitizer/pull/20 - Exploit, Third Party Advisory |
Information
Published : 2020-06-09 04:15
Updated : 2024-11-21 05:02
NVD link : CVE-2020-13973
Mitre link : CVE-2020-13973
CVE.ORG link : CVE-2020-13973
JSON object : View
Products Affected
owasp
- json-sanitizer
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')