GHSA-g8jj-899q-8x3j
Dashboard / Vulnerabilities / GHSA-g8jj-899q-8x3j
Summary: Cross-site scripting in json-sanitizer
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-13973, https://github.com/OWASP/json-sanitizer/pull/20
Affected packages
Package
Name: com.mikesamuel:json-sanitizer
Purl: pkg:maven/com.mikesamuel/json-sanitizer
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -1.2.1
Affected versions
1.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
