{"id":"GHSA-333x-qr3v-g4xx","summary":"Command injection in spritesheet-js","details":"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.","aliases":["CVE-2020-7782"],"modified":"2023-11-08T04:04:10.277208Z","published":"2021-04-13T15:30:16Z","database_specific":{"github_reviewed_at":"2021-04-05T19:04:46Z","nvd_published_at":"2021-02-08T19:15:00Z","cwe_ids":["CWE-74"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7782"},{"type":"WEB","url":"https://github.com/krzysztof-o/spritesheet.js/blob/master/lib/generator.js#23L32"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SPRITESHEETJS-1048333"},{"type":"WEB","url":"https://www.npmjs.com/package/spritesheet-js"}],"affected":[{"package":{"name":"spritesheet-js","ecosystem":"npm","purl":"pkg:npm/spritesheet-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.2.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-333x-qr3v-g4xx/GHSA-333x-qr3v-g4xx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}