CVE-2021-23639
CRITICALCVSS 9.8/10EPSS 5.33%
Last modified
CVE-2021-23639 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 5.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Markdown To Pdf Project | Markdown To Pdf | < 5.0.0 |
References
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8aPatch, Third Party Advisory
- https://github.com/simonhaenisch/md-to-pdf/issues/99Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880Exploit, Patch, Third Party Advisory
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8aPatch, Third Party Advisory
- https://github.com/simonhaenisch/md-to-pdf/issues/99Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23639?
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 severe is CVE-2021-23639?
CVE-2021-23639 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 5.33% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23639?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-2361Vulnerability in the Oracle Advanced Inbound Telephony produ…8.1
- CVE-2021-2362Vulnerability in the Oracle Field Service product of Oracle …8.1
- CVE-2021-23624This affects the package dotty before 0.1.2. A type confusio…9.8
- CVE-2021-2363Vulnerability in the Oracle Public Sector Financials (Intern…8.1
- CVE-2021-23631This affects all versions of package convert-svg-core; all v…7.5
- CVE-2021-23632All versions of package git are vulnerable to Remote Code Ex…9.8
- CVE-2021-2364Vulnerability in the Oracle iSupplier Portal product of Orac…8.1
- CVE-2021-23648The package @braintree/sanitize-url before 6.0.0 are vulnera…6.1
- CVE-2021-2365Vulnerability in the Oracle Human Resources product of Oracl…8.1
- CVE-2021-23654This affects all versions of package html-to-csv. When there…9.8
- CVE-2021-2366Vulnerability in the Primavera P6 Enterprise Project Portfol…6.4
- CVE-2021-23663All versions of package sey are vulnerable to Prototype Poll…9.8
Are you affected by CVE-2021-23639?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
