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-23352

30
FAUCET Score

CVE-2021-23352 is a critical vulnerability affecting the madge package prior to version 4.0.1, allowing arbitrary command execution. An attacker can exploit this by manipulating the graphVizPath option, which is then executed by childprocess.exec when image(), svg(), or dot() functions are called. With a CVSS score of 9.8 (Critical), this vulnerability has a network-based attack vector, low attack complexity, and results in complete compromise of confidentiality, integrity, and availability. While there is no evidence of active exploitation, public exploit code, or significant community discussion, its high severity warrants immediate patching.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.0.1CPE matchmatch criteria
cpe:2.3:a:madge_project:madge:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

8.6HIGH

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

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

Exploit Intelligence

EPSS Score
2.06%
Probability of exploitation in next 30 days
EPSS Percentile
79.3%
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.0206 is in the 68th 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: madgeFixed in: 4.0.1

Vendor Advisories (1)

npmGHSA-753c-phhg-cj29high

Madge vulnerable to command injection

Mar 12, 2021

References

github.com / pahen/madge/blob/master/lib/graph.js%23L27
Broken LinkThird Party Advisory
github.com / pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332
PatchThird Party Advisory
snyk.io / vuln/SNYK-JS-MADGE-1082875
ExploitPatchThird Party Advisory