Vulnerability record · CVE-2020-28494 · published 2 February 2021
CVE-2020-28494: Totaljs total.js os command injection vulnerability
Totaljs · 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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672 | ExploitPatchThird Party Advisory |
| https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672 | ExploitPatchThird Party Advisory |
Track CVE-2020-28494 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-28494), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.