CVE-2021-23639
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductMd-to-pdf
PublishedDec 10, 2021
First seenDec 10, 2021
How to fix
Update
- md-to-pdf5.0.0 or later
- markdown_to_pdf_project markdown_to_pdf5.0.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| md-to-pdfnpm | v < 5.0.0 | 5.0.0 |
| markdown_to_pdf_project markdown_to_pdf | v < 5.0.0 | 5.0.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.