Advisory

GHSA-hvf8-h2qh-37m9

Also known as: CVE-2020-26272

Summary

IPC messages delivered to the wrong frame in Electron

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 [[email protected]](mailto:[email protected]).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-01-28 19:11 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

electron

npm · All systems

Affected

  • introduced 0, fixed 9.4.0 (semver)

Fixed versions

9.4.0

Fix

electron

npm · All systems

Affected

  • introduced 10.0.0, fixed 10.2.0 (semver)

Fixed versions

10.2.0

Fix

electron

npm · All systems

Affected

  • introduced 11.0.0, fixed 11.1.0 (semver)

Fixed versions

11.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences