Vulnerability record · CVE-2021-23639 · published 10 December 2021
CVE-2021-23639: Markdown to pdf project markdown to pdf vulnerability
Markdown To Pdf Project · Markdown To Pdf
The package md-to-pdf before 5.0.0 are vulnerable to Remote Code Execution (RCE) due to utilizing the library gray-matter to parse front matter content, without disabling the JS engine.
Description
The package md-to-pdf before 5.0.0 are vulnerable to Remote Code Execution (RCE) due to utilizing the library gray-matter to parse front matter content, without disabling the JS engine.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a | PatchThird Party Advisory |
| https://github.com/simonhaenisch/md-to-pdf/issues/99 | ExploitIssue TrackingPatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880 | ExploitPatchThird Party Advisory |
| https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a | PatchThird Party Advisory |
| https://github.com/simonhaenisch/md-to-pdf/issues/99 | ExploitIssue TrackingPatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880 | ExploitPatchThird Party Advisory |
Track CVE-2021-23639 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Source: NIST National Vulnerability Database (record CVE-2021-23639), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.