All reports
High

Cross-Site Scripting in scratch-svg-renderer

Affected versions

Affected versions
<= 0.2.0-prerelease.20201016121710
Fixed version
0.2.0-prerelease.20201019174008

Exploitation

CVE-2020-7750

Probability of exploitation in the next 30 days: 6.13%

FIRST EPSS · 2026-11-21

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.

Links