What’s Vulnerable › Vulnerabilities
CVE-2020-13973
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-06-09 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- OWASP Json-Sanitizer: before 1.2.1 — fixed in 1.2.1
How to fix
Upgrade to a fixed version: OWASP Json-Sanitizer 1.2.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2020-13973 or the next vulnerability affects your stack