CVE-2020-4075
CVE-2020-4075 — Arbitrary file read via window-open IPC in Electron
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
6.8
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.8 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-552
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1003OS Credential Dumping
- T1119Automated Collection
- T1213Data from Information Repositories
References
2 on the record
- www.electronjs.org/releases/stable?page=3#release-notes-for-v824
x_refsource_MISC
- github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2023-4863 Google Chromium WebP Heap-Based Buffer Overflow VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2017-16651 Roundcube Webmail File Disclosure VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-21589 Atlassian Multiple Products Files or Directories Accessible to External Parties VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2025-11371 Gladinet CentreStack and TrioFox Local File Inclusion FlawCVSS 7.5 · CISA KEV
- CVE-2020-17519 Apache Flink Improper Access Control VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2016-3715 ImageMagick Arbitrary File Deletion VulnerabilityCVSS 5.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.