CVE-2021-23639
CRITICAL9.8EPSS 19.9%Code Injection in md-to-pdf.
Published: 12/16/2021Modified: 3/13/2026
Also known as:GHSA-x949-7cm6-fm6p
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.
Affected packages (1)
- npm/md-to-pdffrom 0, < 5.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |