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 FencerTimeline
- Published
- 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
-
github.com
/LLK/scratch-svg-renderer/commit/9ebf57588aa596c4fa3bb64209e10ade395aee90
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-SCRATCHSVGRENDERER-1020497
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7750
advisory
Sources
- CVE List CVE-2020-7750
- GitHub Advisory GHSA-j977-g5vj-j27g
- NVD CVE-2020-7750
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.