CVE-2020-26272
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.
Weakness
- CWE-668: Exposure of Resource to Wrong Sphere
Timeline
- 2021-01-28Published by the CNA18:25 UTC
- 2021-01-28GitHub advisory published (GHSA-hvf8-h2qh-37m9)same day
Exploit and advisory records
GitHub advisory GHSA-hvf8-h2qh-37m9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm electron | before 9.4.0 | 9.4.0 |
| npm electron | from 10.0.0 before 10.2.0 | 10.2.0 |
| npm electron | from 11.0.0 before 11.1.0 | 11.1.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| electronjs electron | from 10.0.0 before 10.2.0fixed in 10.2.0from 11.0.0 before 11.1.0fixed in 11.1.0from 9.0.0 before 9.4.0fixed in 9.4.010.0.0no fix listed11.0.0no fix listed(+2 more) | 10.2.011.1.09.4.0not listednot listed |
References
- https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c
- https://www.electronjs.org/releases/stable?version=9#9.4.0
- https://github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208
- https://github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2
- https://github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4cc
- https://github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9dedd
- https://github.com/electron/electron/pull/26875
- https://github.com/electron/electron/releases/tag/v9.4.0
- https://github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-26272'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-26272'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-26272'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-26272'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).