Electron: window.open features string controls some window options considered privileged
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, some window options supplied by web content in the window.open() features string were applied to the new BrowserWindow without an allowlist. Untrusted content could set window options it should not control, including options that cause the main process to access attacker-chosen file or network paths, when untrusted content can call window.open() and the app does not override child window options via setWindowOpenHandler or overrideBrowserWindowOptions. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
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.8; 40.0.0-alpha.1 to before 40.9.0; 41.0.0-alpha.1 to before 41.2.1; 42.0.0-alpha.1 to before 42.0.0-beta.3 | 39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3 | Patch available | CNA |
| — | electron (npm) | before 39.8.8 | 39.8.8 | Patch available | GHSA-v93f-fgjr-hjrj |
| — | electron (npm) | 40.0.0-alpha.1 to before 40.9.0 | 40.9.0 | Patch available | GHSA-v93f-fgjr-hjrj |
| — | electron (npm) | 41.0.0-alpha.1 to before 41.2.1 | 41.2.1 | Patch available | GHSA-v93f-fgjr-hjrj |
| — | electron (npm) | 42.0.0-alpha.1 to before 42.0.0-beta.3 | 42.0.0-beta.3 | Patch available | GHSA-v93f-fgjr-hjrj |
- electron Vendorelectron Affected before 39.8.8; 40.0.0-alpha.1 to before 40.9.0; 41.0.0-alpha.1 to before 41.2.1; 42.0.0-alpha.1 to before 42.0.0-beta.3 Fixed in 39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3 Patch available CNA
- electron (npm) Vendor— Affected before 39.8.8 Fixed in 39.8.8 Patch available GHSA-v93f-fgjr-hjrj
- electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 40.9.0 Fixed in 40.9.0 Patch available GHSA-v93f-fgjr-hjrj
- electron (npm) Vendor— Affected 41.0.0-alpha.1 to before 41.2.1 Fixed in 41.2.1 Patch available GHSA-v93f-fgjr-hjrj
- electron (npm) Vendor— Affected 42.0.0-alpha.1 to before 42.0.0-beta.3 Fixed in 42.0.0-beta.3 Patch available GHSA-v93f-fgjr-hjrj
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* | before 39.8.8; 40.0.0 to before 40.9.0; 41.0.0 – 41.2.1 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* | 42.0.0 alpha1 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* | 42.0.0 alpha2 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* | 42.0.0 alpha3 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* | 42.0.0 alpha4 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:* | 42.0.0 alpha5 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:* | 42.0.0 alpha6 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:* | 42.0.0 beta1 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:* | 42.0.0 beta2 | Vulnerable | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 39.8.8; 40.0.0 to before 40.9.0; 41.0.0 – 41.2.1 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* Versions 42.0.0 alpha1 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* Versions 42.0.0 alpha2 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* Versions 42.0.0 alpha3 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* Versions 42.0.0 alpha4 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:* Versions 42.0.0 alpha5 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:* Versions 42.0.0 alpha6 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:* Versions 42.0.0 beta1 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:* Versions 42.0.0 beta2 Vulnerable ·Electronjs
Remediation
- Fix · CNA electron (electron) Fixed in 39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3
- Fix · GHSA-v93f-fgjr-hjrj electron (npm) Fixed in 39.8.8 Advisory →
- Fix · GHSA-v93f-fgjr-hjrj electron (npm) Fixed in 40.9.0 Advisory →
- Fix · GHSA-v93f-fgjr-hjrj electron (npm) Fixed in 41.2.1 Advisory →
- Fix · GHSA-v93f-fgjr-hjrj electron (npm) Fixed in 42.0.0-beta.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-70607
- 2026-10-03 Alias added: GHSA-v93f-fgjr-hjrj
References
Patch 8
- https://github.com/electron/electron/pull/50946
- https://github.com/electron/electron/pull/50947
- https://github.com/electron/electron/pull/50948
- https://github.com/electron/electron/pull/50949
- https://github.com/electron/electron/commit/30cf3882de75ee651bd4e5f27002f13fd3d3163a
- https://github.com/electron/electron/commit/4eff3dc09e4d1e62d649c5ce9902f532bb7469c7
- https://github.com/electron/electron/commit/615d62500fc7732d068274b796c49487e652e90b
- https://github.com/electron/electron/commit/fe2e7d0073949b4593b624b93abf1788f5377e55
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-70607 · CVE Program
- CVE-2026-70607 · NVD
- FIRST EPSS
- GHSA-v93f-fgjr-hjrj · 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