CVE-2025-65108
BaseFortify
Publication date: 2025-11-21
Last updated on: 2025-11-21
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| md-to-pdf | md-to-pdf | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the md-to-pdf tool prior to version 5.2.5, where a Markdown front-matter block containing a JavaScript delimiter causes the gray-matter library's JavaScript engine to execute arbitrary code during the Markdown to PDF conversion process. This leads to remote code execution on the system running the converter.
How can this vulnerability impact me? :
The vulnerability can allow an attacker to execute arbitrary code remotely on the system running the md-to-pdf tool, potentially leading to full system compromise, data loss, or unauthorized control over the affected environment.
What immediate steps should I take to mitigate this vulnerability?
Upgrade the md-to-pdf tool to version 5.2.5 or later, as this version contains the patch that fixes the remote code execution vulnerability caused by the JavaScript delimiter in Markdown front-matter blocks.