CVE-2021-23639
Code Injection in md-to-pdf.
9.8
CRITICAL
CVSS 3.1
EPSS 19.9%
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.
How to fix CVE-2021-23639
To remediate CVE-2021-23639, upgrade the affected package to a fixed version below.
- npm/md-to-pdf—upgrade to 5.0.0 or later
Is CVE-2021-23639 being exploited?
Moderate — EPSS is 19.9%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 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 |