Read the docs

Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab

Priority LOW 35CWE-346Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-346.

Summary

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.4, 42.5.2, and 43.0.0, popups opened from a sandboxed iframe through Electron's OpenURLFromTab navigation path, including links using target="_blank" or a middle-click, did not receive the inherited HTML sandbox restrictions. An untrusted iframe using the allow-scripts allow-popups configuration could therefore open a popup with the embedding application's full origin, exposing that origin's cookies, storage, and same-origin scripting capabilities. Applications that do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in versions 41.10.4, 42.5.2, and 43.0.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00132 2nd percentileScored 2026-11-07
Fix Partial electron (electron): 41.10.4, 42.5.2, 43.0.0electron (npm): 41.10.4, 42.5.2, 43.0.0Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electronelectronbefore 41.10.4; 42.0.0-alpha.1 to before 42.5.2; 43.0.0-alpha.1 to before 43.0.041.10.4, 42.5.2, 43.0.0Patch availableCNA
—electron (npm)before 41.10.441.10.4Patch availableGHSA-hq2x-r82h-9wj4
—electron (npm)42.0.0-alpha.1 to before 42.5.242.5.2Patch availableGHSA-hq2x-r82h-9wj4
—electron (npm)43.0.0-alpha.1 to before 43.0.043.0.0Patch availableGHSA-hq2x-r82h-9wj4
  • electron Vendorelectron Affected before 41.10.4; 42.0.0-alpha.1 to before 42.5.2; 43.0.0-alpha.1 to before 43.0.0 Fixed in 41.10.4, 42.5.2, 43.0.0 Patch available CNA
  • electron (npm) Vendor— Affected before 41.10.4 Fixed in 41.10.4 Patch available GHSA-hq2x-r82h-9wj4
  • electron (npm) Vendor— Affected 42.0.0-alpha.1 to before 42.5.2 Fixed in 42.5.2 Patch available GHSA-hq2x-r82h-9wj4
  • electron (npm) Vendor— Affected 43.0.0-alpha.1 to before 43.0.0 Fixed in 43.0.0 Patch available GHSA-hq2x-r82h-9wj4

CPE configurations NVD · 9

CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*before 39.8.8; 40.0.0 to before 40.9.0; 41.0.0 – 41.2.1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*42.0.0 alpha1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*42.0.0 alpha2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*42.0.0 alpha3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*42.0.0 alpha4VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*42.0.0 alpha5VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*42.0.0 alpha6VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*42.0.0 beta1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*42.0.0 beta2VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 39.8.8; 40.0.0 to before 40.9.0; 41.0.0 – 41.2.1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* Versions 42.0.0 alpha1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* Versions 42.0.0 alpha2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* Versions 42.0.0 alpha3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* Versions 42.0.0 alpha4 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:* Versions 42.0.0 alpha5 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:* Versions 42.0.0 alpha6 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:* Versions 42.0.0 beta1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:* Versions 42.0.0 beta2 Vulnerable ·Electronjs

Remediation

  • Fix · CNA electron (electron) Fixed in 41.10.4, 42.5.2, 43.0.0
  • Fix · GHSA-hq2x-r82h-9wj4 electron (npm) Fixed in 41.10.4 Advisory →
  • Fix · GHSA-hq2x-r82h-9wj4 electron (npm) Fixed in 42.5.2 Advisory →
  • Fix · GHSA-hq2x-r82h-9wj4 electron (npm) Fixed in 43.0.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of Podman DesktopAffectedNo fix yet
Red Hat Enterprise Linux 10AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-102673
  2. 2026-10-03 Alias added: GHSA-hq2x-r82h-9wj4
  3. 2026-10-16 CVSS score added · NVD

References

  • TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
  • TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
  • TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
  • TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
  • TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
  • TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
See all 74 →

Sources