{"id":"CVE-2021-23352","details":"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.","aliases":["GHSA-753c-phhg-cj29"],"modified":"2026-04-10T04:30:23.028010Z","published":"2021-03-09T19:15:12.860Z","related":["SNYK-JS-MADGE-1082875"],"references":[{"type":"ADVISORY","url":"https://github.com/pahen/madge/blob/master/lib/graph.js%23L27"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JS-MADGE-1082875"},{"type":"FIX","url":"https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pahen/madge","events":[{"introduced":"0"},{"fixed":"abae6d0dfe0c96218545bfe7fcffbb60322af3b4"},{"fixed":"da5cbc9ab30372d687fa7c324b22af7ffa5c6332"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"4.0.1"}]}}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","0.3.5","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6.0","v1.1.0","v1.2.0","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.4.6","v1.5.0","v1.6.0","v2.0.0","v2.1.0","v2.2.0","v3.0.0","v3.0.1","v3.1.0","v3.1.1","v3.10.0","v3.11.0","v3.12.0","v3.2.0","v3.3.0","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.4.4","v3.5.0","v3.5.1","v3.6.0","v3.7.0","v3.8.0","v3.9.0","v3.9.1","v3.9.2","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23352.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}