CVE-2020-7750

CRITICAL

MIT Scratch-svg-renderer - XSS

Title source: rule

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.

Exploits (1)

exploitdb WORKING POC
by Stig Magnus Baugstø · textwebappsmultiple
https://www.exploit-db.com/exploits/50079

Scores

CVSS v3 9.6
EPSS 0.0695
EPSS Percentile 91.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Classification

CWE
CWE-79
Status published

Affected Products (50)

mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
mit/scratch-svg-renderer
... and 35 more

Timeline

Published Oct 21, 2020
Tracked Since Feb 18, 2026