IPC messages delivered to the wrong frame in Electron
Impact
IPC 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 does ANY of the following, then it is impacted by this issue:
- Uses
remote - Calls
webContents.sendToFrame - Calls
event.replyin an IPC message handler
Patches
This has been fixed in the following versions:
- 9.4.0
- 10.2.0
- 11.1.0
- 12.0.0-beta.9
Workarounds
There are no workarounds for this issue.
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | electron | < 9.4.0, >= 10.0.0, < 10.2.0, >= 11.0.0, < 11.1.0 | 9.4.0, 10.2.0, 11.1.0 |
References
- https://github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9
- https://nvd.nist.gov/vuln/detail/CVE-2020-26272
- https://github.com/electron/electron/pull/26875
- 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/releases/tag/v9.4.0
- https://www.electronjs.org/releases/stable?version=9#9.4.0
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-668- Platform
- npm
- Package
electron- Disclosed
- 28.01.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hvf8-h2qh-37m9 - CC BY 4.0
Vulnerability history: electron
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 71
- First → latest
- 10.2017 09.2026
- Without a fix
- 0
- Exploited in attacks
- 3
Severity breakdown
- Critical 3
- High 26
- Medium 32
- Low 10
Disclosures per year
- 2017: 1
- 2018: 5
- 2019: 0
- 2020: 6
- 2021: 2
- 2022: 7
- 2023: 6
- 2024: 0
- 2025: 3
- 2026: 41
-
IPC messages delivered to the wrong frame in Electron this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.