spritesheet-js@1.0.0 vulnerabilities

Spritesheet generator

Direct Vulnerabilities

Known vulnerabilities in the spritesheet-js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Command Injection

spritesheet-js is a command-line spritesheet (a.k.a. Texture Atlas) generator written in node.js.

Affected versions of this package are vulnerable to Command Injection. It depends on a vulnerable package platform-command. The injection point is located in line 32 in lib/generator.js, which is triggered by main entry of the package.


var a =require("spritesheet-js");
a('./', { scale:"& touch JHU #",trim:true});

How to fix Command Injection?

There is no fixed version for spritesheet-js.