CVE-2020-13973

MEDIUM

Owasp Json-sanitizer < 1.2.1 - XSS

Title source: rule

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.

Exploits (2)

nomisec WORKING POC
by shoucheng3 · poc
https://github.com/shoucheng3/OWASP__json-sanitizer_CVE-2020-13973_1-2-0
nomisec WRITEUP
by epicosy · poc
https://github.com/epicosy/json-sanitizer

Scores

CVSS v3 6.1
EPSS 0.0047
EPSS Percentile 64.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (2)
com.mikesamuel/json-sanitizer 0 - 1.2.1Maven
owasp/json-sanitizer < 1.2.1
Published Jun 09, 2020
Tracked Since Feb 18, 2026