CVE-2020-28494
HIGH 8.6CVSS 3.1Command injection in total.js
This affects the package total.js before 3.4.7. The issue occurs in the image.pipe and image.stream functions. The type parameter is used to build the command that is then executed using child_process.spawn. The issue occurs because child_process.spawn is called with the option shell set to true and because the type parameter is not properly sanitized.
- Published
- 2 Feb 2021
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-4449-hg37-77v8SNYK-JS-TOTALJS-1046672
- Sources
- NVDJSONOSV GHSA-4449-hg37-77v8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | totaljs | total.jscpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:* |
< 3.4.7 | 3.4.7 |
| OSV | npm | total.js | < 3.4.7 | 3.4.7 |
References
- https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-28494 · ADVISORY
- https://www.npmjs.com/package/total.js · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Feb 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Feb 2021)