Critical severity · published Oct 21, 2020
CVE-2020-7750
This affects the package scratch-svg-renderer before 0.2.0-prerelease.20201019174008
9.6
CVSS
6.1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)6.1% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SC
Scratch-svg-renderer · Mit
0.1.0; 0.1.0; 0.1.0; 0.1.0; 0.1.0; 0.1.0; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-7750
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-7750
Patch
https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90
Third Party Advisory
https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497
More from Scratch-svg-renderer
6.1
CVE-2020-27428
A DOM-based cross-site scripting (XSS) vulnerability in Scratch-Svg-Renderer v0.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted sb3 file
