CVE-2026-70608
published high CVSS 3.1 · 7.2Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron< 39.8.10 · >= 40.0.0-alpha.1, < 41.10.3 · >= 42.0.0-alpha.1, < 42.0.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 39.8.10 (affected)>= 40.0.0-alpha.1, < 41.10.3 (affected)>= 42.0.0-alpha.1, < 42.0.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-1021 CWE-1021: Improper Restriction of Rendered UI Layers or Frames
References
10- https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57
- https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3
- https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f
- 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/releases/tag/v39.8.10
- https://github.com/electron/electron/releases/tag/v41.10.3
- https://github.com/electron/electron/releases/tag/v42.0.1
- https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g
Provider assertions
2GitHub_M · cna
Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5d802d5abbc15bc328f77283a4e8600978cc8f85039ebcb6bb019d46e922b525
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record