scratch-svg-renderer@0.2.0-prerelease.20201014130133 vulnerabilities

SVG renderer for Scratch

  • latest version

    3.0.14

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the scratch-svg-renderer 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
    Cross-site Scripting (XSS)

    scratch-svg-renderer is a SVG renderer for Scratch

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The loadString function does not escape SVG properly, which can be used to inject arbitrary elements into the DOM via the _transformMeasurements function.

    How to fix Cross-site Scripting (XSS)?

    Upgrade scratch-svg-renderer to version 0.2.0-prerelease.20201019174008 or higher.

    <0.2.0-prerelease.20201019174008