# CVE-2020-7782: Command Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.50%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-08T18:35:16.305Z
- Modified: 2026-06-17T03:25:26.290Z
- Also known as: GHSA-333x-qr3v-g4xx
- Weaknesses: CWE-74, CWE-78
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- spritesheet-js: before unspecified
- spritesheet-js (npm): up to 1.2.6
- spritesheet-js_project spritesheet-js: no versions given

## Every score

- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-SPRITESHEETJS-1048333> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/package/spritesheet-js> (product, third-party-advisory, web)
- <https://github.com/krzysztof-o/spritesheet.js/blob/master/lib/generator.js%23L32> (broken-link)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7782> (advisory)
- <https://github.com/krzysztof-o/spritesheet.js/blob/master/lib/generator.js#23L32> (web)

## Sources

- CVE List: [CVE-2020-7782](https://www.cve.org/CVERecord?id=CVE-2020-7782), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-333x-qr3v-g4xx](https://github.com/advisories/GHSA-333x-qr3v-g4xx), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-7782](https://nvd.nist.gov/vuln/detail/CVE-2020-7782), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7782 · Whole record: https://cve.day/CVE-2020-7782.json · Rebuilt by cve.day 2026-11-25T22:57:57.289Z
