CVE-2020-26272
JSON

5.4medium

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

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.75% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hvf8-h2qh-37m9

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

Product or packageVersionsReported by
electron electron< 9.4.0, >= 10.0.0, < 10.2.0, >= 11.0.0, < 11.1.0CVE List
electron (npm)before 9.4.0, from 10.0.0 before 10.2.0, from 11.0.0 before 11.1.0GitHub Advisory Database
electronjs electronfrom 9.0.0 before 9.4.0, from 10.0.0 before 10.2.0, from 11.0.0 before 11.1.0, 9.0.0, 10.0.0, 11.0.0NVD

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

El framework Electron le permite escribir aplicaciones de escritorio multiplataforma usando JavaScript, HTML y CSS.&#xa0;En las versiones afectadas de Electron IPC, los mensajes enviados desde el proceso principal a una subtrama en el proceso de renderizado, por medio de webContents.sendToFrame, event.reply o cuando se usa el módulo remoto, en algunos casos pueden enviarse a la trama incorrecta.&#xa0;Si su aplicación usa remoto, llama a webContents.sendToFrame, o llama a event.reply en un manejador de mensajes de IPC, entonces se ve afectado por este problema.&#xa0;Esto se ha corregido en las versiones 9.4.0, 10.2.0, 11.1.0 y 12.0.0-beta.9.&#xa0;No existen soluciones para este problema

References

https://github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9third-party-advisory, web
https://github.com/electron/electron/pull/26875third-party-advisory, web
https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73cpatch, third-party-advisory, web
https://github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208web
https://github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2web
https://github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4ccweb
https://github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9deddweb
https://github.com/electron/electron/releases/tag/v9.4.0release-notes, third-party-advisory, web
https://www.electronjs.org/releases/stable?version=9#9.4.0release-notes, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2020-26272advisory

Sources

SourceRecordLicence
CVE ListCVE-2020-26272 changed 2025-05-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-hvf8-h2qh-37m9 changed 2026-09-10CC-BY-4.0
NVDCVE-2020-26272 changed 2026-06-17Public domain