
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability CVE-2020-7750 affects the scratch-svg-renderer package versions before 0.2.0-prerelease.20201019174008. The issue was discovered and assigned on January 21, 2020, involving improper SVG string handling that could potentially lead to DOM manipulation (CVE Details).
The vulnerability exists in the loadString function of the scratch-svg-renderer package, which fails to properly escape SVG content. This can be exploited through the _transformMeasurements function to inject arbitrary elements into the DOM (CVE Details, GitHub Commit).
The vulnerability could allow attackers to inject arbitrary elements into the DOM, potentially leading to Cross-Site Scripting (XSS) attacks in applications using the affected package (CVE Details).
The vulnerability can be exploited through the manipulation of SVG strings passed to the loadString function, which are then processed by the _transformMeasurements function without proper sanitization (GitHub Commit).
The issue has been fixed in version 0.2.0-prerelease.20201019174008 and later. The fix includes the implementation of DOMPurify sanitization for SVG content before processing, specifically using SVG profiles and forbidding certain tags like 'a', 'audio', 'canvas', and 'video' (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."