CVE-2021-23639
Code Injection in md-to-pdf.
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | md-to-pdf | 5.0.0 |