CVE-2026-70608

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductElectron
PublishedAug 5, 2026
First seenAug 5, 2026

How to fix

Update
  • 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

ProductAffected versionsFixed in
electronjs electronv < 39.8.8, 40.0.0 ≤ v < 41.10.3, 42.0.0 ≤ v < 42.0.139.8.8, 41.10.3, 42.0.1
electronnpm42.0.0-alpha.1 ≤ v < 42.0.1, 40.0.0-alpha.1 ≤ v < 41.10.3, v < 39.8.1042.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.