Vulnerability CVE-2020-7750


Published: 2020-10-21

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.

See advisories in our WLB2 database:
Topic
Author
Date
High
Scratch Desktop 3.17 Code Execution / Cross Site Scripting
apple502j
02.07.2021

Type:

CWE-79

(Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Scratch -> Scratch-svg-renderer 

 References:
https://github.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90
https://snyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497

Copyright 2024, cxsecurity.com

 

Back to Top