CVE-2020-7750GHSA-J977-G5VJ-J27GSNYK-JS-SCRATCHSVGRENDERER-1020497
Cross-site Scripting (XSS)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.2.0-prerelease.20201019174008
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 on Exploit-DB
Summary
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.
Timeline
- CVE published
- Public exploit on Exploit-DB
EDB-50079
- Record last updated
Affected versions
- n/a scratch-svg-renderer
fixed in 0.2.0-prerelease.20201019174008
- scratch-svg-renderernpm
fixed in 0.2.0-prerelease.20201019174008