9.6
Critical
CVE-2020-7750 This affects the package scratch-svg-renderer before 0.2.0-prerelease.20201019174008
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| scratch-svg-renderer 0.2 | earliest → < 0.2.0-prerelease.20201019174008 | 0.2.0-prerelease.20201019174008 |