scratchfoundation/scratch-svg-renderer

scratchfoundation/scratch-svg-renderer

Releases468
Frequency4 days 5 hours
Last Release
Stars45
Scratch SVG renderer

CVE History

CVEPublishedCVSS v3CVSS v2
6.1 MEDIUM4.3 MEDIUM

A DOM-based cross-site scripting (XSS) vulnerability in Scratch-Svg-Renderer v0.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted sb3 file.

9.6 CRITICAL6.8 MEDIUM

This affects the package scratch-svg-renderer before 0.2.0-prerelease.20201019174008. The loadString function does not escape SVG properly, which can be used to inject arbitrary elements into the DOM via the _transformMeasurements function.