Vulnerability 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mit | Scratch-Svg-Renderer | 0.1.0 |
Related Weaknesses (CWE)
References
- https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497Third Party Advisory
- https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497Third Party Advisory
FAQ
What is CVE-2020-7750?
CVE-2020-7750 is a vulnerability with a CVSS score of 9.6 (CRITICAL). 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 ...
How severe is CVE-2020-7750?
CVE-2020-7750 has been rated CRITICAL with a CVSS base score of 9.6/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2020-7750?
Check the references section above for vendor advisories and patch information. Affected products include: Mit Scratch-Svg-Renderer.