CVE-2020-28494: Totaljs Total.js

High severity, CVSS 8.6. EPSS: 1.7% chance of exploitation in the next 30 days.

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

  • Totaljs Total.js: before 3.4.7 (fixed in 3.4.7)

Published 2021-02-02. Last modified 2026-06-17.