### [CVE-2021-23352](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23352) ![](https://img.shields.io/static/v1?label=Product&message=madge&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%204.0.1%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Command%20Injection&color=brighgreen) ### 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. ### POC #### Reference - https://snyk.io/vuln/SNYK-JS-MADGE-1082875 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/dellalibera/dellalibera