Vulnerability · Published Oct 21, 2020 · Assigned by snyk
CVE-2020-7750Cross-site Scripting (XSS)
Critical 9.6
In plain English
A critical-severity security flaw in scratch-svg-renderer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.1% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.6Critical
Exploit odds (30 days)6.1%top 6.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | scratch-svg-renderer | 0.2.0-prerelease.20201019174008 | GHSA-j977-g5vj-j27g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | scratch-svg-renderer | unspecified – before 0.2.0-prerelease.20201019174008 |