Skip to content
Fencer Intel
critical 9.6

CVE-2020-7750 json

Cross-site Scripting (XSS)

published 6y ago modified last mo. also GHSA-j977-g5vj-j27g , EUVD-2020-1459

cvss
9.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
6.1%
EPSS 6.1% chance of exploitation in 30 days, percentile 93%
public exploits
1
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.

Patch / fix

  • npm scratch-svg-renderer 0.2.0-prerelease.20201019174008
  • n/a scratch-svg-renderer 0.2.0-prerelease.20201019174008

Is CVE-2020-7750 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. Published
  2. First public exploit (EDB-50079)

Exploit prediction

6.13% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-50079 Scratch Desktop 3.17 - Remote Code Execution webapps, 2021-07-02

CVSS scores

assigned by version score vector
CNA 3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm scratch-svg-renderer
<0.2.0-prerelease.20201019174008
0.2.0-prerelease.20201019174008

Affected products

  • n/a scratch-svg-renderer

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.