VulnerabilityModified
CVE-2020-7750
The loadString function does not escape SVG properly, which can be used to inject arbitrary elements into the DOM via the _transformMeasurements function.
CRITICAL 9.6EPSS 6.15%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.15%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.6 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 6.15% probability · 93th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- mit/scratch-svg-renderer
- Source
- report@snyk.io
References
- https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497Third Party Advisory
- https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.