Command injection in total.js
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | total.js | before 3.4.7 | 3.4.7 | Patch available | CNA |
| — | total.js (npm) | before 3.4.7 | 3.4.7 | Patch available | GHSA-4449-hg37-77v8 |
- total.js Vendor— Affected before 3.4.7 Fixed in 3.4.7 Patch available CNA
- total.js (npm) Vendor— Affected before 3.4.7 Fixed in 3.4.7 Patch available GHSA-4449-hg37-77v8
Remediation
- Fix · CNA total.js Fixed in 3.4.7
- Fix · GHSA-4449-hg37-77v8 total.js (npm) Fixed in 3.4.7 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
total.js 3.4.7
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2020-17299 Prototype pollution in total.jsPriority LOW 39
Timeline
- 2026-10-02 Threatist record created from CVE-2020-28494
- 2026-10-03 Alias added: GHSA-4449-hg37-77v8
References
More Total.js vulnerabilities
- TI-2024-32459 An issue in Total.js CMS v.1.0 allows a remote attacker to execute arbitrary code via the func.js file. CVSS 3.1HIGH 8.8
- TI-2022-21645 In Total.js 4 before 0e5ace7, /api/common/ping can achieve remote command execution via… CVSS 3.1HIGH 8.8
- TI-2019-06421 index.js in Total.js Platform before 3.2.3 allows path traversal. CVSS 3.0HIGH 7.5
- TI-2025-10089 Total.js CMS Files Menu cross site scripting CVSS 4.0MEDIUM 4.8
- TI-2025-10016 Total.js CMS Layout admin layouts_save cross site scripting CVSS 4.0MEDIUM 4.8
- TI-2021-06042 Remote code execution (RCE) in total.js CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-28494 · CVE Program
- CVE-2020-28494 · NVD
- FIRST EPSS
- GHSA-4449-hg37-77v8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences