Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path (CVE-2026-70608)
A vulnerability in Electron allows sandboxed iframes without the 'allow-popups' permission to open new windows or trigger setWindowOpenHandler without user interaction. This occurs because new-window navigations using the OpenURL path do not enforce the iframe sandbox popup restriction. Applications embedding untrusted content in sandboxed iframes and relying solely on the absence of 'allow-popups' to prevent window creation are affected. Versions prior to 39.8.10 are vulnerable. Fixed versions include 39.8.10, 41.10.3, and 42.0.1.
AI Analysis
Technical Summary
CVE-2026-70608 is a sandbox bypass vulnerability in Electron where sandboxed iframes lacking the 'allow-popups' keyword can still open new windows or invoke setWindowOpenHandler without user interaction. This happens because the OpenURL navigation path for new-window events does not apply the iframe sandbox popup restriction, allowing unintended window creation. The issue affects Electron versions before 39.8.10. Applications that embed untrusted content in sandboxed iframes and rely on the sandbox's popup restrictions without additional window creation denial are vulnerable. The vulnerability is addressed in Electron versions 39.8.10, 41.10.3, and 42.0.1.
Potential Impact
The vulnerability allows sandboxed iframes without the 'allow-popups' permission to bypass popup restrictions and open new windows or trigger setWindowOpenHandler without user interaction. This can lead to unintended window creation in applications embedding untrusted content in sandboxed iframes, potentially impacting confidentiality and integrity. Applications that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected.
Mitigation Recommendations
A fix is available in Electron versions 39.8.10, 41.10.3, and 42.0.1. Users should upgrade to one of these versions or later. As a workaround, applications should return { action: 'deny' } from setWindowOpenHandler for any untrusted content instead of relying solely on the iframe sandbox's popup restrictions.
Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path (CVE-2026-70608)
Description
A vulnerability in Electron allows sandboxed iframes without the 'allow-popups' permission to open new windows or trigger setWindowOpenHandler without user interaction. This occurs because new-window navigations using the OpenURL path do not enforce the iframe sandbox popup restriction. Applications embedding untrusted content in sandboxed iframes and relying solely on the absence of 'allow-popups' to prevent window creation are affected. Versions prior to 39.8.10 are vulnerable. Fixed versions include 39.8.10, 41.10.3, and 42.0.1.
CVSS v3.1
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-70608 is a sandbox bypass vulnerability in Electron where sandboxed iframes lacking the 'allow-popups' keyword can still open new windows or invoke setWindowOpenHandler without user interaction. This happens because the OpenURL navigation path for new-window events does not apply the iframe sandbox popup restriction, allowing unintended window creation. The issue affects Electron versions before 39.8.10. Applications that embed untrusted content in sandboxed iframes and rely on the sandbox's popup restrictions without additional window creation denial are vulnerable. The vulnerability is addressed in Electron versions 39.8.10, 41.10.3, and 42.0.1.
Potential Impact
The vulnerability allows sandboxed iframes without the 'allow-popups' permission to bypass popup restrictions and open new windows or trigger setWindowOpenHandler without user interaction. This can lead to unintended window creation in applications embedding untrusted content in sandboxed iframes, potentially impacting confidentiality and integrity. Applications that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected.
Mitigation Recommendations
A fix is available in Electron versions 39.8.10, 41.10.3, and 42.0.1. Users should upgrade to one of these versions or later. As a workaround, applications should return { action: 'deny' } from setWindowOpenHandler for any untrusted content instead of relying solely on the iframe sandbox's popup restrictions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9f4c-93c8-jc8g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-70608"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a73851abf8831d5394eeeb8
Added to database: 08/05/2026, 18:46:50 UTC
Last enriched: 08/05/2026, 19:41:15 UTC
Last updated: 08/05/2026, 19:41:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.