IPC messages delivered to the wrong frame in Electron
Package
Affected versions
< 9.4.0
>= 10.0.0, < 10.2.0
>= 11.0.0, < 11.1.0
Patched versions
9.4.0
10.2.0
11.1.0
Description
Reviewed
Jan 28, 2021
Published to the GitHub Advisory Database
Jan 28, 2021
Published by the National Vulnerability Database
Jan 28, 2021
Last updated
Feb 1, 2023
Impact
IPC messages sent from the main process to a subframe in the renderer process, through
webContents.sendToFrame
,event.reply
or when using theremote
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:
remote
webContents.sendToFrame
event.reply
in an IPC message handlerPatches
This has been fixed in the following versions:
Workarounds
There are no workarounds for this issue.
For more information
If you have any questions or comments about this advisory, email us at [email protected].
References