Vulnerability in Electron
CVE-2020-26272
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.017 (76.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 76.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Electron — versions < 9.4.0, >= 10.0.0, < 10.2.0, >= 11.0.0, < 11.1.0
- Electronjs Electron — versions 9.0.0, 10.0.0, 11.0.0
Weakness classification (CWE)
References
- github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9 (Third Party Advisory)
- github.com/electron/electron/pull/26875 (Third Party Advisory)
- github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c (Patch, Third Party Advisory)
- github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208
- github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2
- github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4cc
- github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9dedd
- github.com/electron/electron/releases/tag/v9.4.0 (Third Party Advisory, Release Notes)
- www.electronjs.org/releases/stable (Release Notes, Vendor Advisory)
Frequently asked questions
- What is CVE-2020-26272?
- CVE-2020-26272 is a medium-severity vulnerability in Electron, classified under Exposure of Resource to Wrong Sphere. CVSS score: 5.4/10. Published 2021-01-28.
- How severe is CVE-2020-26272?
- Medium severity. CVSS v3 base score is 5.4 out of 10.