First published: Tue Jun 09 2020(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
OWASP Java HTML Sanitizer | <1.2.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this vulnerability is CVE-2020-13973.
The severity of CVE-2020-13973 is medium.
The affected software for CVE-2020-13973 is OWASP json-sanitizer before version 1.2.1.
The CWE ID for CVE-2020-13973 is CWE-79.
Yes, the fix for CVE-2020-13973 is to update to version 1.2.1 or later of OWASP json-sanitizer.