Vulnerability · Published Sep 29, 2026 · Assigned by GitHub_M
CVE-2026-102673Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
High 8.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.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electron | 41.10.4 | GHSA-hq2x-r82h-9wj4 |
| npm | electron | 42.5.2 | GHSA-hq2x-r82h-9wj4 |
| npm | electron | 43.0.0 | GHSA-hq2x-r82h-9wj4 |
Affected products (as reported)
Weakness: CWE-346, CWE-693 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/electron/electron/security/advisories/GHSA-hq2x-r82h-9wj4 x_refsource_CONFIRM
- https://github.com/electron/electron/pull/52133 x_refsource_MISC
- https://github.com/electron/electron/commit/7ea14d5f55ecb11a30447701ddca16b3feee0bba x_refsource_MISC
- https://github.com/electron/electron/commit/e26b2640e7795c42bfb111b76009cbb4327c9a69 x_refsource_MISC
- https://github.com/electron/electron/commit/ebe1165ee2b05c203c26dd2244ef1c5b9b1c04da x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v41.10.4 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v42.5.2 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v43.0.0 x_refsource_MISC