CVE-2020-13973Published Jun 9, 2020 · Jun 9Updated Oct 20
Cross-site scripting in json-sanitizer
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.mikesamuel:json-sanitizer Maven |
|
|
Original description
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.
From the CVE record · mitre