CVE-2025-65108: md-to-pdf vulnerable to arbitrary JavaScript code execution when parsing front matter
(updated )
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 converter process of md-to-pdf library, resulting in remote code execution.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-65108 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →