CVEvulnerability
CVE-2021-23352
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-03-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-89
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.
Affected configurations
• madge project madge (< 4.0.1)
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/pahen/madge/blob/master/lib/graph.js%23L27 Broken Link, Third Party Advisory
- https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MADGE-1082875 Exploit, Patch, Third Party Advisory
- https://github.com/pahen/madge/blob/master/lib/graph.js%23L27 Broken Link, Third Party Advisory
- https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MADGE-1082875 Exploit, Patch, Third Party Advisory