What’s Vulnerable › Vulnerabilities
CVE-2020-26272: Electron vulnerable to ID collision when routing IPC messages to renderers containing OOPIFs
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-01-28 · updated 2026-06-17
- Weakness: CWE-668
Description
The Electron framework lets users write cross-platform desktop applications using JavaScript, HTML and CSS. In versions of Electron IPC prior to 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9, messages sent from the main process to a subframe in the renderer process, through webContents.sendToFrame, event.reply or when using the remote module, can in some cases be delivered to the wrong frame. If your app uses remote, calls webContents.sendToFrame, or calls event.reply in an IPC message handler then it is impacted by this issue. This has been fixed in versions 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9. There are no known workarounds for this issue.
Affected products
- electron: from 9.0.0 before 9.4.0; from 10.0.0 before 10.2.0; from 11.0.0 before 11.1.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 (+70) — fixed in 10.2.0, 11.1.0, 9.4.0
How to fix
Upgrade to a fixed version: electron 10.2.0, 11.1.0, 9.4.0. Check the vendor advisory for mitigations.
References
- https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c
- https://github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208
- https://github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2
- https://github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4cc
- https://github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9dedd
- https://github.com/electron/electron/pull/26875
- https://github.com/electron/electron/releases/tag/v9.4.0
- https://github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9
- https://www.electronjs.org/releases/stable?version=9#9.4.0
- https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c
- https://github.com/electron/electron/pull/26875
- https://github.com/electron/electron/releases/tag/v9.4.0
Get alerted when CVE-2020-26272 or the next vulnerability affects your stack