GitHub Advisory Database
GHSA-x949-7cm6-fm6p
Code Injection in md-to-pdf.
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | md-to-pdf | All versions before 5.0.0 (fixed in 5.0.0) |