← Vulnerability feed

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.

8.6 CVSS 3.1 High EPSS 1.7% · top 23.7% CWE-78 · OS command injection
8.6CVSS 3.1 base score, v2 7.5
1.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-23389Totaljs total.js code injection vulnerabilityThe package total.js before 3.4.9 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.EPSS 3.6%9.8CVE-2021-23344Totaljs total.js code injection vulnerabilityThe package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.EPSS 4.9%8.8CVE-2024-48655Totaljs total.js code injection vulnerabilityAn issue in Total.js CMS v.1.0 allows a remote attacker to execute arbitrary code via the func.js file.EPSS 1.0%8.8CVE-2022-44019Totaljs total.js os command injection vulnerabilityIn Total.js 4 before 0e5ace7, /api/common/ping can achieve remote command execution via shell metacharacters in the host parameter.EPSS 2.2%7.5CVE-2019-8903Total.js Platform path traversal in index.jsTotal.js Platform before 3.2.3 contains a path traversal flaw in index.js, allowing crafted requests to reach files outside the intended directory. T…EPSS 72%analysed7.3CVE-2020-28495Totaljs total.js vulnerabilityThis affects the package total.js before 3.4.7. The set function can be used to set a value into the object according to the path. However the keys o…EPSS 3.6%7.2CVE-2021-32831Totaljs total.js code injection vulnerabilityTotal.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django …EPSS 1.5%5.4CVE-2022-41392Totaljs total.js cross-site scripting vulnerabilityA cross-site scripting (XSS) vulnerability in TotalJS commit 8c2c8909 allows attackers to execute arbitrary web scripts or HTML via a crafted payload…EPSS 0.70%

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.