CVE-2026-70607: Electron: window.open features string controls some window options considered privileged
Vulnerability summary
CVE-2026-70607 is a medium (CVSS 5.3) Improper Input Validation vulnerability in electron. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 38.5% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 05-08-2026PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
Decrease -0.13 pp
From 0.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Electron1 product
- electron< 39.8.8 | ≥ 40.0.0-alpha.1, < 40.9.0 | ≥ 41.0.0-alpha.1, < 41.2.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.3
Electronjs1 product
- electronEOL< 39.8.8 | ≥ 40.0.0, < 40.9.0 | ≥ 41.0.0, ≤ 41.2.1 | 42.0.0:alpha1 | 42.0.0:alpha2 | 42.0.0:alpha3 | 42.0.0:alpha4 | 42.0.0:alpha5 | 42.0.0:alpha6 | 42.0.0:beta1 | 42.0.0:beta2
Npm1 product
- electron< 39.8.8 | ≥ 40.0.0-alpha.1, < 40.9.0 | ≥ 41.0.0-alpha.1, < 41.2.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.3
3 vendors · 3 products
References
14 links- github.com/electron/electron/security/advisories/GHSA-v93f-fgjr-hjrjX Refsource CONFIRMWEBVendor Advisory
- github.com/electron/electron/commit/30cf3882de75ee651bd4e5f27002f13fd3d3163aX Refsource MISCWEBPatch
- github.com/electron/electron/commit/4eff3dc09e4d1e62d649c5ce9902f532bb7469c7X Refsource MISCWEBPatch
- github.com/electron/electron/commit/615d62500fc7732d068274b796c49487e652e90bX Refsource MISCWEBPatch
- github.com/electron/electron/commit/fe2e7d0073949b4593b624b93abf1788f5377e55X Refsource MISCWEBPatch
Show all 14 references
- github.com/electron/electronPACKAGE