Description
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.
Published: 2026-09-29
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation via Untrusted Popups
Action: Immediate Patch
AI Analysis

Impact

Electron's navigation function OpenURLFromTab allows a sandboxed iframe that permits scripts and popups to open a new window without inheriting the parent iframe's sandbox restrictions. An attacker controlling such an iframe can cause the popup to load with the full origin of the host application, thereby gaining access to that application's cookies, storage, and same‑origin scripting capabilities. The flaw could expose sensitive data and allow the attacker to execute arbitrary JavaScript within the context of the host application's origin, effectively letting a malicious iframe gain the privileges of the application. The vulnerability is identified as CWE‑346, CWE‑693 and CWE‑281 because it stems from missing authorization checks when copying sandbox constraints, improper control of resource usage across contexts, and an improper restriction of rendered HTML.

Affected Systems

All applications built with Electron prior to release 41.10.4, 42.5.2, or 43.0.0 are susceptible. This includes desktop software that embeds untrusted web content in sandboxed iframes with the allow‑scripts and allow‑popups attributes enabled. The affected component is Electron's OpenURLFromTab navigation path, used for opening links with target="_blank" or middle‑click behavior.

Risk and Exploitability

The CVSS score is 8.2, classifying the vulnerability as high severity. The EPSS score of 0.00147 indicates a very low but non-zero probability of exploitation. The flaw is not listed in CISA's KEV catalog, suggesting limited known exploitation yet significant risk. The most likely attack vector is local or file‑based: an attacker could supply a crafted web page or malicious iframe within a trusted Electron application, thereby triggering the popup behavior. If the user interacts with the iframe, the attacker could compromise application credentials or inject malicious scripts, leading to data leakage or unauthorized system control.

Generated by OpenCVE AI on October 2, 2026 at 01:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electron to version 41.10.4 or later (including 42.5.2 and 43.0.0) which restores sandbox inheritance for popups.
  • Ensure that any iframe containing untrusted content does not enable allow‑scripts or allows popups; remove or restrict these attributes when embedding external sites.
  • If upgrading is temporarily infeasible, configure the application to block OpenURLFromTab or to validate the origin of popups before permitting them to load.

Generated by OpenCVE AI on October 2, 2026 at 01:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hq2x-r82h-9wj4 Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
History

Thu, 15 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Electronjs
Electronjs electron
CPEs cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*
Vendors & Products Electronjs
Electronjs electron

Fri, 02 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-281
References
Metrics threat_severity

None

threat_severity

Important


Wed, 30 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

Tue, 29 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
Weaknesses CWE-346
CWE-693
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}


Subscriptions

Electron Electron
Electronjs Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-30T20:11:08.290Z

Reserved: 2026-09-29T16:10:04.075Z

Link: CVE-2026-102673

cve-icon Vulnrichment

Updated: 2026-09-30T19:33:53.702Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-29T17:17:07.487

Modified: 2026-10-15T14:01:06.497

Link: CVE-2026-102673

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-29T16:38:41Z

Links: CVE-2026-102673 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T02:00:14Z

Weaknesses
  • CWE-281

    Improper Preservation of Permissions

  • CWE-346

    Origin Validation Error

  • CWE-693

    Protection Mechanism Failure