GHSA-qgpv-86r3-87fh

    Dashboard / Vulnerabilities / GHSA-qgpv-86r3-87fh

    GHSA-qgpv-86r3-87fh

    Published: 30 Mar 2022Last Modified: 16 Feb 2024

    Summary: Cross-site Scripting in Parsedown

    Details: Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.

    Affected packages

    Package

    Name: erusev/parsedown

    Purl: pkg:composer/erusev/parsedown

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.7.0

    Affected versions

    0.1.0
    0.1.1
    0.1.2
    0.1.3
    0.1.4
    0.1.5

    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