Skip to main content
← All vulnerabilities
CVE-2020-13973GHSA-G8JJ-899Q-8X3J

OWASP json-sanitizer before 1.2.1 allows XSS.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.1
2 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • com.mikesamuel:json-sanitizerMaven

    fixed in 1.2.1

References 3

GitHub · OWASP/json-sanitizer

GitHub · epicosy/json-sanitizer

GitHub · shoucheng3/OWASP__json-sanitizer_CVE-2020-13973_1-2-0