md-to-pdf is vulnerable to arbitrary JavaScript code execution when parsing front matter
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| simonhaenisch | md-to-pdf | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Simonhaenisch | Md-to-pdf | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-547r-qmjm-8hvw | md-to-pdf vulnerable to arbitrary JavaScript code execution when parsing front matter |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.960% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Simonhaenisch
Simonhaenisch md-to-pdf |
|
| Vendors & Products |
Simonhaenisch
Simonhaenisch md-to-pdf |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | md-to-pdf is vulnerable to arbitrary JavaScript code execution when parsing front matter | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|