critical9.8
CVE-2020-7782
Command injection in spritesheet-js
Impact
This affects all versions of package spritesheet-js. It depends on a vulnerable package platform-command. The injection point is located in line 32 in lib/generator.js, which is triggered by main entry of the package.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | spritesheet-js | <= 1.2.6 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Spritesheet-Js Project | Spritesheet-Js | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/krzysztof-o/spritesheet.js/blob/master/lib/generator.js%23L32
- https://snyk.io/vuln/SNYK-JS-SPRITESHEETJS-1048333
- https://www.npmjs.com/package/spritesheet-js
- https://github.com/advisories/GHSA-333x-qr3v-g4xx
- https://nvd.nist.gov/vuln/detail/CVE-2020-7782
- https://github.com/krzysztof-o/spritesheet.js/blob/master/lib/generator.js#23L32