Description · from the CVE record

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

ProductAffectedFixed inSource
scratch-svg-rendererunspecified – < 0.2.0-prerelease.202010191740080.2.0-prerelease.20201019174008CNA

Scores by source

snyk (CNA)9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References

refsnyk.io/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497refgithub.com/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90