CVE-2020-4077
mediumpriority · track · 40EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.5–9.9
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-h9jc-284h-533gContext isolation bypass via contextBridge in Electron2020-07-07ghsa · osvUS
### Impact Apps using both `contextIsolation` and `contextBridge` are affected. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. ### Workarounds There are no app-side workarounds, you must update your Electron version to be protected. ### Fixed Versions * `9.0.0-beta.21` * `8.2.4` * `7.2.4` ### For more information If you have any questions or comments about this advisory: * Email us at [security@electronjs.org](mailto:security@electronjs.org)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533gcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-4077cnnvd
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824cnnvd
- https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533genisa_euvd
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824enisa_euvd
- https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533gThird Party Advisorynvd
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824Release NotesVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan