Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing, Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1021 and CWE-693.
Summary
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.3, and 42.0.1, a sandboxed iframe without the allow-popups keyword could still open a new window or trigger setWindowOpenHandler with no user interaction because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction. Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected, while apps that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in 39.8.10, 41.10.3, and 42.0.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electron | electron | before 39.8.10; 40.0.0-alpha.1 to before 41.10.3; 42.0.0-alpha.1 to before 42.0.1 | 39.8.10, 41.10.3, 42.0.1 | Patch available | CNA |
| — | electron (npm) | 42.0.0-alpha.1 to before 42.0.1 | 42.0.1 | Patch available | GHSA-9f4c-93c8-jc8g |
| — | electron (npm) | 40.0.0-alpha.1 to before 41.10.3 | 41.10.3 | Patch available | GHSA-9f4c-93c8-jc8g |
| — | electron (npm) | before 39.8.10 | 39.8.10 | Patch available | GHSA-9f4c-93c8-jc8g |
- electron Vendorelectron Affected before 39.8.10; 40.0.0-alpha.1 to before 41.10.3; 42.0.0-alpha.1 to before 42.0.1 Fixed in 39.8.10, 41.10.3, 42.0.1 Patch available CNA
- electron (npm) Vendor— Affected 42.0.0-alpha.1 to before 42.0.1 Fixed in 42.0.1 Patch available GHSA-9f4c-93c8-jc8g
- electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 41.10.3 Fixed in 41.10.3 Patch available GHSA-9f4c-93c8-jc8g
- electron (npm) Vendor— Affected before 39.8.10 Fixed in 39.8.10 Patch available GHSA-9f4c-93c8-jc8g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* | before 39.8.8; 40.0.0 to before 41.10.3; 42.0.0 to before 42.0.1 | Vulnerable | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 39.8.8; 40.0.0 to before 41.10.3; 42.0.0 to before 42.0.1 Vulnerable ·Electronjs
Remediation
- Fix · CNA electron (electron) Fixed in 39.8.10, 41.10.3, 42.0.1
- Fix · GHSA-9f4c-93c8-jc8g electron (npm) Fixed in 42.0.1 Advisory →
- Fix · GHSA-9f4c-93c8-jc8g electron (npm) Fixed in 41.10.3 Advisory →
- Fix · GHSA-9f4c-93c8-jc8g electron (npm) Fixed in 39.8.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-70608
- 2026-10-03 Alias added: GHSA-9f4c-93c8-jc8g
References
Patch 6
- https://github.com/electron/electron/pull/51437
- https://github.com/electron/electron/pull/51438
- https://github.com/electron/electron/pull/51439
- https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57
- https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3
- https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f
More electron vulnerabilities
- TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
- TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
- TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
- TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
- TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
- TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-70608 · CVE Program
- CVE-2026-70608 · NVD
- FIRST EPSS
- GHSA-9f4c-93c8-jc8g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences