Critical (9.6) in mit scratch-svg-renderer. EPSS 6.1% chance of exploitation in the next 30 days. Fixed in scratch-svg-renderer 0.2.0-prerelease.20201019174008.
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.
Severity
CVSS 3.1
9.6 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
6.1% chance of exploitation in the next 30 days; higher than 93% of CVEs (scores of 2026-10-31)