GHSA-p7c9-jqhq-vr3v

    Dashboard / Vulnerabilities / GHSA-p7c9-jqhq-vr3v

    GHSA-p7c9-jqhq-vr3v

    Published: 27 Jul 2018Last Modified: 8 Nov 2023
    Aliases:

    Summary: Remote Code Execution in markdown-pdf

    Details: Versions of `markdown-pdf` prior to 9.0.0 are vulnerable to Remote Code Execution. The package fails to sanitize HTML code in markdown files. If markdown files with malicious HTML are converted to PDF, the resulting PDF file will execute any JavaScript code in the original markdown file. This may allow attackers to execute Remote Code. ## Recommendation Upgrade to version 9.0.0 or later.

    Affected packages

    Package

    Name: markdown-pdf

    Purl: pkg:npm/markdown-pdf

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -9.0.0

    Affected versions

    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