CVE-2020-4076: electron Trust Boundary Violation
Vulnerability summary
CVE-2020-4076 is a critical (CVSS 9.0) Trust Boundary Violation vulnerability in electron. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.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, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using contextIsolation are affected. 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.orgCNA7.8HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NDiffers
- OSV · NpmEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
0.00 pp
From 0.37% 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-m93v-9qjc-3g79X Refsource CONFIRMWEBThird Party Advisory