CVE-2020-7750
CRITICALscratch-svg-renderer < 0.2.0-prerelease.20201019174008 - Cross-Site Scripting via SVG Injection in loadString
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2020-7750. PoCs published by Stig Magnus Baugstø.
AI-analyzed exploit summary This exploit demonstrates an XSS vulnerability in Scratch Desktop <3.17.1 via a malicious SVG file lacking a viewBox attribute, which can trigger arbitrary JavaScript execution. On Electron-based Scratch Desktop, this escalates to RCE by leveraging Electron APIs to execute system commands.
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.
Exploits (1)
This exploit demonstrates an XSS vulnerability in Scratch Desktop <3.17.1 via a malicious SVG file lacking a viewBox attribute, which can trigger arbitrary JavaScript execution. On Electron-based Scratch Desktop, this escalates to RCE by leveraging Electron APIs to execute system commands.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H