CVE-2020-7750: Mit Scratch-Svg-Renderer
Critical severity, CVSS 9.6. EPSS: 6.1% probability of exploitation activity in the next 30 days.
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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 0.2.0-prerelease.20201019174008"; check the vendor's advisory for the release that fixes it.
Affected products
- Mit Scratch-Svg-Renderer: version 0.1.0 only; version 0.2.0 only
Affected packages
- scratch-svg-renderer (npm)
Published 2020-10-21. Last modified 2026-06-17.