CVE-2020-4076 json
Context isolation bypass via leaked cross-context objects in Electron
published 6y ago modified 4mo ago also GHSA-m93v-9qjc-3g79 , EUVD-2020-0565
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm electron 7.2.4, 8.2.4
- electronjs electron 7.2.4, 8.2.4
Is CVE-2020-4076 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 9.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 2.0 | 3.6 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <7.2.4 >=8.0.0, <8.2.4 |
7.2.4 8.2.4 |
Affected products
- electron electron
Classification
- Weakness
-
- CWE-501 Trust Boundary Violation
References
-
electronjs.org
/releases/stable?page=3#release-notes-for-v824
web, release-notes, vendor-advisory
-
github.com
/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-4076
advisory
Sources
- CVE List CVE-2020-4076
- GitHub Advisory GHSA-m93v-9qjc-3g79
- NVD CVE-2020-4076
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.