{"id":"CVE-2025-65108","sourceIdentifier":"security-advisories@github.com","published":"2025-11-21T22:16:33.317","lastModified":"2026-10-18T20:10:00.110","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"md-to-pdf es una herramienta CLI para convertir archivos Markdown a PDF usando Node.js y Chrome sin interfaz gráfica. Versiones anteriores a la versión 5.2.5, un bloque de metadatos (front-matter) de Markdown que contiene un delimitador de JavaScript provoca que el motor JS en la biblioteca gray-matter ejecute código arbitrario en el proceso del conversor de Markdown a PDF de la biblioteca md-to-pdf, resultando en ejecución remota de código. Este problema ha sido parcheado en la versión 5.2.5."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"simonhaenisch","product":"md-to-pdf","versions":[{"version":"< 5.2.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":10.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-11-24T17:17:00.852694Z","id":"CVE-2025-65108","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"references":[{"url":"https://github.com/simonhaenisch/md-to-pdf/commit/46bdcf2051c8d1758b391c1353185a179a47a4d9","source":"security-advisories@github.com"},{"url":"https://github.com/simonhaenisch/md-to-pdf/security/advisories/GHSA-547r-qmjm-8hvw","source":"security-advisories@github.com"}]}