CVE-2020-7782 json
Command Injection
published 5y ago modified 4mo ago also GHSA-333x-qr3v-g4xx , EUVD-2021-0741
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2020-7782 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.50% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-SPRITESHEETJS-1048333 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | spritesheet-js | <=1.2.6 |
no fix listed |
Affected products
- n/a spritesheet-js
Classification
References
-
snyk.io
/vuln/SNYK-JS-SPRITESHEETJS-1048333
web, exploit, third-party-advisory
-
npmjs.com
/package/spritesheet-js
web, product, third-party-advisory
-
github.com
/krzysztof-o/spritesheet.js/blob/master/lib/generator.js%23L32
broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2020-7782
advisory
-
github.com
/krzysztof-o/spritesheet.js/blob/master/lib/generator.js#23L32
web
Sources
- CVE List CVE-2020-7782
- GitHub Advisory GHSA-333x-qr3v-g4xx
- NVD CVE-2020-7782
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.