CVE-2020-7750

Critical

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.

SeverityCritical
CVSS9.6
Exploit probability—
ProductMit Scratch-svg-renderer
PublishedOct 21, 2020
First seenOct 21, 2020

How to fix

Update
  • scratch-svg-renderer0.2.0-prerelease.20201019174008 or later

Affected products

ProductAffected versionsFixed in
mit scratch-svg-renderer0.1.0, 0.2.0—
scratch-svg-renderernpmv < 0.2.0-prerelease.202010191740080.2.0-prerelease.20201019174008

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.