Skip to content
OpenAdvisories
Critical · 9.6 Public exploit CVE-2020-7750 EUVD-2020-1459GHSA-j977-g5vj-j27gSNYK-JS-SCRATCHSVGRENDERER-1020497

Cross-site Scripting (XSS)

Published Oct 21, 2020 · Updated Sep 16, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— scratch-svg-renderer unspecified – < 0.2.0-prerelease.20201019174008 0.2.0-prerelease.20201019174008

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm scratch-svg-renderer < 0.2.0-prerelease.20201019174008 0.2.0-prerelease.20201019174008 GHSA-j977-g5vj-j27g

References