Security mailing lists by PureSourceCode

CVE-2020-28494

HIGH 8.6CVSS 3.1

Command injection in 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.

Published
2 Feb 2021
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-4449-hg37-77v8SNYK-JS-TOTALJS-1046672
Sources
NVDJSONOSV GHSA-4449-hg37-77v8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD totaljs total.js
cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*
< 3.4.7 3.4.7
OSV npm total.js < 3.4.7 3.4.7

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Feb 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Feb 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.