{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-65108","published":"2025-11-21T22:16:33.317000Z","last_modified":"2026-10-18T20:10:00.110000Z","status":"Deferred","cvss":{"version":"3.1","score":10.0,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["simonhaenisch"],"products":["simonhaenisch/md-to-pdf"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-547r-qmjm-8hvw","ecosystem":"npm","name":"md-to-pdf","purl":"pkg:npm/md-to-pdf","ranges":[{"introduced":"0","fixed":"5.2.5"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2025-65108/","html_en":"/en/cve/CVE-2025-65108/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-65108","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-65108"},"untrusted":{"vendor_name":"simonhaenisch","product_name":"md-to-pdf","desc_en":"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.","affected":[{"untrusted_vendor":"simonhaenisch","untrusted_product":"md-to-pdf","versions":[]}],"references":[{"url":"https://github.com/simonhaenisch/md-to-pdf/commit/46bdcf2051c8d1758b391c1353185a179a47a4d9","tags":[]},{"url":"https://github.com/simonhaenisch/md-to-pdf/security/advisories/GHSA-547r-qmjm-8hvw","tags":[]}]}}