CVE-2025-65108
Last modified
CVE-2025-65108 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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. EPSS estimates a 0.90% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-65108?
How severe is CVE-2025-65108?
How do I fix CVE-2025-65108?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-65102PJSIP is a free and open source multimedia communication lib…8.7
- CVE-2025-65103OpenSTAManager is an open source management software for tec…8.8
- CVE-2025-65104Firebird is an open-source relational database management sy…7.5
- CVE-2025-65105Apptainer is an open source container platform. In Apptainer…5.3
- CVE-2025-65106LangChain is a framework for building agents and LLM-powered…8.3
- CVE-2025-65107Langfuse is an open source large language model engineering …6.5
- CVE-2025-65109Minder is an open source software supply chain security plat…8.5
- CVE-2025-6511A vulnerability classified as critical has been found in Net…8.8
- CVE-2025-65110Vega is a visualization grammar, a declarative format for cr…9.3
- CVE-2025-65111SpiceDB is an open source database system for creating and m…5.3
- CVE-2025-65112PubNet is a self-hosted Dart & Flutter package service. Prio…9.8
- CVE-2025-65113ClipBucket v5 is an open source video sharing platform. Prio…6.5
Are you affected by CVE-2025-65108?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
