Skip to main content
VulnerabilityPublished

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

Affects electronSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.2 High : upgrade to 42.0.1 soon.

Data as of 3 Nov 2026, 22:58 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 42.0.1, 41.10.3, 39.8.10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Upgrade electron to 42.0.1; electron to 41.10.3; electron to 39.8.10.

Affected software

ProductAffectedFixed in
npmelectronAffected
  • >=42.0.0-alpha.1 <42.0.1
Fixed in
  • 42.0.1
npmelectronAffected
  • >=40.0.0-alpha.1 <41.10.3
Fixed in
  • 41.10.3
npmelectronAffected
  • <39.8.10
Fixed in
  • 39.8.10

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…