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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | md-to-pdf | unspecified – < 5.0.0 | 5.0.0 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
MohandAcherir/CVE-2021-23639 ★ 0 · Oct 4, 2024
Exploit of CVE-2021-23639 for the vulnerable library 'md-to-pdf' in JS
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | md-to-pdf | < 5.0.0 | 5.0.0 | GHSA-x949-7cm6-fm6p |