Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path (CVE-2026-70608)

0
High
Published: 08/05/2026 (08/05/2026, 17:27:18 UTC)
Source: GCVE Database
Product: electron

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected software

npmghsa
electron
Affected versions
>=42.0.0-alpha.1 <42.0.1
npmghsa
electron
Affected versions
>=40.0.0-alpha.1 <41.10.3
npmghsa
electron
Affected versions
<39.8.10

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

AILast updated: 08/05/2026, 19:41:15 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses