CVE-2020-4077: electron Trust Boundary Violation
Vulnerability summary
CVE-2020-4077 is a critical (CVSS 9.9) Trust Boundary Violation vulnerability in electron. EPSS estimates a 1.00% chance of exploitation in the next 30 days, higher than 62.3% 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 both `contextIsolation` and `contextBridge` 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.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:NDiffers
- OSV · NpmEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:NDiffers
EPSS trend
Probability
1.00%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
0.00 pp
From 1.00% 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
4 links- github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533gX Refsource CONFIRMWEBThird Party Advisory