CVE-2020-7750
Cross-Site Scripting in scratch-svg-renderer
9.6
CRITICAL
CVSS 3.1
EPSS 6.2%
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.
How to fix CVE-2020-7750
To remediate CVE-2020-7750, upgrade the affected package to a fixed version below.
- npm/scratch-svg-renderer—upgrade to 0.2.0-prerelease.20201019174008 or later
Is CVE-2020-7750 being exploited?
Moderate — EPSS is 6.2%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 0.2.0-prerelease.20201019174008
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |