Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc4amotODk5cS04eDNq
Cross-site scripting in json-sanitizer
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.
Permalink: https://github.com/advisories/GHSA-g8jj-899q-8x3jJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc4amotODk5cS04eDNq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-g8jj-899q-8x3j, CVE-2020-13973
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-13973
- https://github.com/OWASP/json-sanitizer/pull/20
- https://github.com/advisories/GHSA-g8jj-899q-8x3j
Blast Radius: 12.1
Affected Packages
maven:com.mikesamuel:json-sanitizer
Dependent packages: 36Dependent repositories: 97
Downloads:
Affected Version Ranges: < 1.2.1
Fixed in: 1.2.1
All affected versions: 1.2.0
All unaffected versions: 1.2.1, 1.2.2, 1.2.3