CVE-2020-4075: electron
Vulnerability summary
CVE-2020-4075 is a high (CVSS 7.5) vulnerability in electron. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities.
Timeline
- 07-07-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NDiffers
- OSV · NpmEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NDiffers
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.18% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Electron1 product
- electron≥ 9.0.0-beta.0, ≤ 9.0.0-beta.20 | ≥ 8.0.0, < 8.2.4 | < 7.2.4
Electronjs1 product
- electronEOL≥ 7.0.0, < 7.2.4 | ≥ 8.0.0, < 8.2.4 | 9.0.0 | 9.0.0:beta1 | 9.0.0:beta10 | 9.0.0:beta11 | 9.0.0:beta12 | 9.0.0:beta13 | 9.0.0:beta14 | 9.0.0:beta15 | 9.0.0:beta16 | 9.0.0:beta17 | 9.0.0:beta18 | 9.0.0:beta19 | 9.0.0:beta2 | 9.0.0:beta20 | 9.0.0:beta3 | 9.0.0:beta4 | 9.0.0:beta5 | 9.0.0:beta6 | 9.0.0:beta7 | 9.0.0:beta8 | 9.0.0:beta9
Npm1 product
- electron< 7.2.4 | ≥ 8.0.0, < 8.2.4
3 vendors · 3 products
References
3 links- github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhmX Refsource CONFIRMWEBThird Party Advisory