High severity8.6NVD Advisory· Published Mar 9, 2021· Updated Jun 17, 2026
CVE-2021-23352
CVE-2021-23352
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
madgenpm | < 4.0.1 | 4.0.1 |
Affected products
3- madge/madgedescription
Patches
Vulnerability mechanics
References
6- github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332nvdPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JS-MADGE-1082875nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-753c-phhg-cj29ghsaADVISORY
- github.com/pahen/madge/blob/master/lib/graph.js%23L27nvdBroken LinkThird Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-23352ghsaADVISORY
- github.com/pahen/madge/blob/master/lib/graph.jsghsaWEB
News mentions
0No linked articles in our index yet.