Skip to main content
← All vulnerabilities
CVE-2020-7750GHSA-J977-G5VJ-J27GSNYK-JS-SCRATCHSVGRENDERER-1020497

Cross-site Scripting (XSS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.0-prerelease.20201019174008
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

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-50079

  3. 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

References 3

snyk.io

GitHub · LLK/scratch-svg-renderer

Exploit-DB