CVE-2026-70608
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.
How to fix
- electronjs electron39.8.8, 41.10.3, 42.0.1 or later
- electron42.0.1, 41.10.3, 39.8.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electronjs electron | v < 39.8.8, 40.0.0 ≤ v < 41.10.3, 42.0.0 ≤ v < 42.0.1 | 39.8.8, 41.10.3, 42.0.1 |
| electronnpm | 42.0.0-alpha.1 ≤ v < 42.0.1, 40.0.0-alpha.1 ≤ v < 41.10.3, v < 39.8.10 | 42.0.1, 41.10.3, 39.8.10 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.