GHSA-g8jj-899q-8x3j

    Dashboard / Vulnerabilities / GHSA-g8jj-899q-8x3j

    GHSA-g8jj-899q-8x3j

    Published: 10 Feb 2022Last Modified: 8 Nov 2023

    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.

    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
    GHSA-g8jj-899q-8x3j | CVE-DB