logo

CVE-2020-13973 com.mikesamuel:json-sanitizer

Package

Manager: maven
Name: com.mikesamuel:json-sanitizer
Vulnerable Version: >=0 <1.2.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00468 pctl0.63548

Details

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.

Metadata

Created: 2022-02-10T23:04:13Z
Modified: 2021-05-13T19:52:04Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-g8jj-899q-8x3j/GHSA-g8jj-899q-8x3j.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-g8jj-899q-8x3j
Finding: F008
Auto approve: 1