Skip to content

ID collision when routing IPC messages to renderers containing OOPIFs

Moderate
MarshallOfSound published GHSA-hvf8-h2qh-37m9 Jan 26, 2021

Package

npm electron (npm)

Affected versions

>=9.0.0-beta.0 < 9.4.0 || >= 10.0.0-beta.0 < 10.2.0 || >= 11.0.0-beta.0 < 11.1.0 || >= 12.0.0-beta.0 < 12.0.0-beta.9 || <= 8

Patched versions

9.4.0, 10.2.0, 11.1.0, 12.0.0-beta.9

Description

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.

Severity

Moderate

CVE ID

CVE-2020-26272

Weaknesses

No CWEs

Credits