Skip to main content
Public proof of conceptFix available

CVE-2020-7750

A public proof of concept exists; no exploitation attested.

  • Published2020-10-21
  • Fixed in0.2.0-prerelease.20201019174008
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-07-02Exploit-DB entryExploit-DB

Versions per branch

OSV · NVD
scratch-svg-renderer
BranchAffectedFixed in
0.2< 0.2.0-prerelease.202010191740080.2.0-prerelease.20201019174008
Mit scratch-svg-renderer
BranchAffectedFixed in
0.1= 0.1.0no fix published
0.2= 0.2.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update scratch-svg-renderer to 0.2.0-prerelease.20201019174008

Advisories and patches

Detection

read 2026-12-05 21:49 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-50079
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
2020-10-21
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-j977-g5vj-j27g

Frequently asked questions

What is CVE-2020-7750?

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.

Is CVE-2020-7750 actively exploited?

Active exploitation of CVE-2020-7750 has not been confirmed. Its EPSS score was 6.1% on 2026-12-05, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7750?

CVE-2020-7750 has a CVSS v3 base score of 9.6 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

Running scratch-svg-renderer? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record