Vulnerability · Published Aug 5, 2026 · Assigned by GitHub_M

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

High 7.2

In plain English

A high-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)0.4%top 62.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron42.0.1GHSA-9f4c-93c8-jc8g
npmelectron41.10.3GHSA-9f4c-93c8-jc8g
npmelectron39.8.10GHSA-9f4c-93c8-jc8g

Affected products (as reported)

VendorProductVersions
electron electron < 39.8.10>= 40.0.0-alpha.1, < 41.10.3>= 42.0.0-alpha.1, < 42.0.1

Weakness: CWE-693, CWE-1021 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

References