{"cve":"CVE-2021-23352","nvd":{"published":"2021-03-09T19:15:12.860","modified":"2026-06-17T03:38:36.353","status":"Modified","description":"This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option parameter which when the .image(), .svg() or .dot() functions are called, is executed by the childprocess.exec function.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/pahen/madge/blob/master/lib/graph.js%23L27","https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332","https://snyk.io/vuln/SNYK-JS-MADGE-1082875","https://github.com/pahen/madge/blob/master/lib/graph.js%23L27","https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332"],"products":["madge_project:madge"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-23352","score":0.02057,"percentile":0.81301,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-753c-phhg-cj29","url":"https://osv.dev/vulnerability/GHSA-753c-phhg-cj29","summary":"Madge vulnerable to command injection","modified":"2026-07-08T06:50:04.197327423Z","packages":[{"ecosystem":"npm","name":"madge","purl":"pkg:npm/madge","ranges":["<4.0.1"],"fixed":["4.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}