Skip to content
OpenAdvisories
Medium · 5.4 CVE-2020-26272 EUVD-2021-0507GHSA-hvf8-h2qh-37m9

Electron vulnerable to ID collision when routing IPC messages to renderers containing OOPIFs

Published Jan 28, 2021 · Updated May 27, 2025 · Assigned by GitHub_M

Description

The Electron framework lets users write cross-platform desktop applications using JavaScript, HTML and CSS. In versions of Electron IPC prior to 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9, 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 uses remote, calls webContents.sendToFrame, or calls event.reply in an IPC message handler then it is impacted by this issue. This has been fixed in versions 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9. There are no known workarounds for this issue.

Affected products

VendorProductAffectedFixed
electron electron < 9.4.0, >= 10.0.0, < 10.2.0, >= 11.0.0, < 11.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron < 9.4.0 9.4.0 GHSA-hvf8-h2qh-37m9
npm electron >= 10.0.0, < 10.2.0 10.2.0 GHSA-hvf8-h2qh-37m9
npm electron >= 11.0.0, < 11.1.0 11.1.0 GHSA-hvf8-h2qh-37m9

References