scratch-svg-renderer@0.2.0-prerelease.20190820171249

SVG renderer for Scratch

  • latest version

    3.1.19

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the scratch-svg-renderer 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
    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