svgo@1.3.1

SVGO is a Node.js library and command-line application for optimizing vector images.

  • latest version

    4.0.2

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the svgo 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
    • M
    Incomplete List of Disallowed Inputs

    Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs via improper handling of namespaced or prefixed script elements and case-sensitive matching of JavaScript URIs in the removeScripts plugin. An attacker can execute arbitrary scripts in the context of the application by uploading specially crafted SVG files containing executable scripts or JavaScript URIs that bypass sanitization.

    How to fix Incomplete List of Disallowed Inputs?

    Upgrade svgo to version 2.8.3, 3.3.4, 4.0.2 or higher.

    <2.8.3>=3.0.0 <3.3.4>=4.0.0 <4.0.2