spritesheet-js@0.3.1 vulnerabilities

Spritesheet generator

  • latest version

    1.2.8

  • first published

    11 years ago

  • latest version published

    2 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.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    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.

    *