Skip to content
OpenAdvisories

Package · npm

md-to-pdf

2 known vulnerabilities.

2 results · Feed

  • Critical 10.0

    md-to-pdf is vulnerable to arbitrary JavaScript code execution when parsing front matter

    md-to-pdf is a CLI tool for converting Markdown files to PDF using Node.js and headless Chrome. Prior to version 5.2.5, a Markdown front-matter block that contains JavaScript delimiter causes the JS engine in gray-matter library to execute arbitrary code in t…

  • Critical 9.8
    CVE-2021-23639 Public exploit

    Remote Code Execution (RCE)

    The package md-to-pdf before 5.0.0 are vulnerable to Remote Code Execution (RCE) due to utilizing the library gray-matter to parse front matter content, without disabling the JS engine.