VYPR

npm package

md-to-pdf

pkg:npm/md-to-pdf

Vulnerabilities (2)

  • CVE-2025-65108CriNov 21, 2025
    affected < 5.2.5fixed 5.2.5

    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 the Markdown to PDF co

  • CVE-2021-23639Dec 10, 2021
    affected < 5.0.0fixed 5.0.0

    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.