Live threats

All CVEs / Totaljs

CVE-2020-28494Totaljs Total.js

High 8.6 No auth needed

Priority
67
CVSS 3.1
8.6
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Feb 2, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Total.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm total.js < 3.4.7 3.4.7 npm install total.js@3.4.7

Per OSV / GitHub Advisories (GHSA-4449-hg37-77v8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
totaljstotal.js< 3.4.7

Official sources

References

Links published by the sources. Open them with care.