Critical severity · published Jul 7, 2020
CVE-2020-4076
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass
9.0
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EL
Electron · Electronjs
7.0.0 before 7.2.4; 8.0.0 before 8.2.4; 9.0.0; 9.0.0; 9.0.0; 9.0.0; +17 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-4076
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-4076
Third Party Advisory
https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79
Release Notes
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
More from Electron
9.9
CVE-2020-4077
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass
9.8
CVE-2026-102676
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
9.8
CVE-2026-34775
Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes
9.8
CVE-2023-23623
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS
9.8
CVE-2022-29247
Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS
