Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. scratch-svg-renderer
  4. ›
  5. CVE-2020-7750

CVE-2020-7750: Cross-site Scripting

October 21, 2020 (updated December 2, 2020)

The loadString function does not escape SVG properly, which can be used to inject arbitrary elements into the DOM via the _transformMeasurements function.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-7750

Code Behaviors & Features

Detect and mitigate CVE-2020-7750 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.0 up to 0.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/scratch-svg-renderer/CVE-2020-7750.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.