spritesheet-js@1.0.8 vulnerabilities

Spritesheet generator

  • latest version

    1.2.8

  • first published

    12 years ago

  • latest version published

    3 years ago

  • licenses detected

    • >=0.2.4 <1.2.8
  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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.

    PoC

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

    How to fix Command Injection?

    There is no fixed version for spritesheet-js.

    *