GHSA-547r-qmjm-8hvw · Severity: critical · Ecosystem: npm — md-to-pdf 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 the Markdown to PDF converter process of md-to-pdf library, resulting in remote code execution. This issue has been patched in version 5.2.5.
Conclusion & alert: CVE-2025-65108 is rated Moderate Risk (59.6/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.88%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.29% | 0.88% | +0.59% |
| 2 | 2026-04-18 | 0.56% | 0.29% | -0.26% |
| 3 | 2026-03-23 | — | 0.56% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 3.1 | CRITICAL |
|
3.9 | 6.0 | [email protected] |
GHSA-547r-qmjm-8hvw · Severity: critical · Ecosystem: npm — md-to-pdf vulnerable to arbitrary JavaScript code execution when parsing front matter
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||