GHSA-g8jj-899q-8x3jMediumCVSS 6.1

Cross-site scripting in json-sanitizer

Published
February 10, 2022
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 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 products1

  • maven/com.mikesamuel:json-sanitizer:< 1.2.1

🔗 References (3)