CVE-2026-70608: electron Protection Mechanism Failure
Vulnerability summary
CVE-2026-70608 is a high (CVSS 7.2) Protection Mechanism Failure vulnerability in electron. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 35.9% of scored vulnerabilities.
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.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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
+0.11 pp
From 0.32% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-693Protection Mechanism FailureThe product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
- CWE-1021Improper Restriction of Rendered UI Layers or FramesThe web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.
Affected systems
Electron1 product
- electron< 39.8.10 | ≥ 40.0.0-alpha.1, < 41.10.3 | ≥ 42.0.0-alpha.1, < 42.0.1
Electronjs1 product
- electron< 39.8.8 | ≥ 40.0.0, < 41.10.3 | ≥ 42.0.0, < 42.0.1
Npm1 product
- electron≥ 42.0.0-alpha.1, < 42.0.1 | ≥ 40.0.0-alpha.1, < 41.10.3 | < 39.8.10
3 vendors · 3 products
References
11 links- github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8gX Refsource CONFIRMWEBVendor Advisory
- github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57X Refsource MISCWEBPatch
- github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3X Refsource MISCWEBPatch
- github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159fX Refsource MISCWEBPatch
Show all 11 references
- github.com/electron/electronPACKAGE