CVEvulnerability
CVE-2020-7750
9.6 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-10-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.6 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-79
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.
Affected configurations
• mit scratch-svg-renderer 0.1.0
• mit scratch-svg-renderer 0.2.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497 Third Party Advisory
- https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497 Third Party Advisory