CVE-2021-23639
9.8
CRITICAL · CVSS 3.1 · EPSS 5.4% (pctl 92)
In your normal cycle
Critical by CVSS (9.8), but no sign of active exploitation.
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.
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 5.41% — more likely to be exploited than 92% of all CVEs |
| On CISA KEV | no |
| Public exploit | none known |
| Published | 2021-12-10 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| markdown to pdf project | markdown to pdf |
References
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a
- https://github.com/simonhaenisch/md-to-pdf/issues/99
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a
- https://github.com/simonhaenisch/md-to-pdf/issues/99
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880
→ the Explorer · watch your stack · NVD