MediumGHSA-hvf8-h2qh-37m9CVE-2020-26272

IPC messages delivered to the wrong frame in Electron

Published 28 Jan 2021 · Updated 10 Sept 2026

Affected packages

Affected
<9.4.0
Fixed in
9.4.0
Update to the fixed version for your release line, for example:npm install electron@9.4.0
Affected
>=10.0.0 <10.2.0
Fixed in
10.2.0
Update to the fixed version for your release line, for example:npm install electron@10.2.0
Affected
>=11.0.0 <11.1.0
Fixed in
11.1.0
Update to the fixed version for your release line, for example:npm install electron@11.1.0

Details

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.reply in 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](mailto:security@electronjs.org).

Is GHSA-hvf8-h2qh-37m9 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected electron, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.