What’s Vulnerable › Vulnerabilities
CVE-2020-28494: Command Injection
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-02-02 · updated 2026-06-17
- Weakness: CWE-78
Description
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.
Affected products
- total.js: before 3.4.7 — fixed in 3.4.7
How to fix
Upgrade to a fixed version: total.js 3.4.7. Check the vendor advisory for mitigations.
References
- https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672
- https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672
Get alerted when CVE-2020-28494 or the next vulnerability affects your stack