Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-23639

33
FAUCET Score

CVE-2021-23639 is a critical Remote Code Execution (RCE) vulnerability affecting the 'md-to-pdf' package prior to version 5.0.0. The vulnerability stems from the 'gray-matter' library's failure to disable its JavaScript engine when parsing front matter content. With a CVSS score of 9.8, this flaw allows unauthenticated attackers to execute arbitrary code with high impact on confidentiality, integrity, and availability. While no public exploits, Metasploit modules, or Nuclei templates are currently available, and community discussion is minimal, its high severity warrants immediate patching.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.0.0CPE matchmatch criteria
cpe:2.3:a:markdown_to_pdf_project:markdown_to_pdf:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
5.33%
Probability of exploitation in next 30 days
EPSS Percentile
91.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0533 is in the 86th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: md-to-pdfFixed in: 5.0.0

Vendor Advisories (1)

npmGHSA-x949-7cm6-fm6pcritical

Code Injection in md-to-pdf.

Dec 16, 2021

References

github.com / simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a
PatchThird Party Advisory
github.com / simonhaenisch/md-to-pdf/issues/99
ExploitIssue TrackingPatchThird Party Advisory
snyk.io / vuln/SNYK-JS-MDTOPDF-1657880
ExploitPatchThird Party Advisory