XSS in Owasp Json-Sanitizer

CVE-2020-13973

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.011 (62.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-13973?
CVE-2020-13973 is a medium-severity vulnerability in Owasp Json-Sanitizer, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2020-06-09.
How severe is CVE-2020-13973?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2020-13973 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.