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

SVG renderer for Scratch

  • latest version

    3.0.16

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    3 hours 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
    • M
    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) by executing arbitrary web scripts or HTML via a crafted sb3 file.

    How to fix Cross-site Scripting (XSS)?

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

    <0.2.0-prerelease.20201009211507
    • 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