GitHub Advisory Database
GHSA-6722-xvq8-3254
SketchSVG Arbitrary Code Injection vulnerability
Details
All versions of the package sketchsvg are vulnerable to Arbitrary Code Injection when invoking shell.exec without sanitization nor parametrization while concatenating the current directory as part of the command string.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | sketchsvg | All versions up to and including 0.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26107
- https://github.com/eBay/SketchSVG
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64
- https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969