CVE-2026-102673
MEDIUM 6.1CVSS 3.1Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
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
- 29 Sep 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-346CWE-693
- Also known as
- GHSA-hq2x-r82h-9wj4
- Sources
- NVDJSONOSV GHSA-hq2x-r82h-9wj4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* |
< 39.8.8 | 39.8.8 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* |
>= 40.0.0, < 40.9.0 | 40.9.0 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* |
>= 41.0.0, <= 41.2.1 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:* |
= 42.0.0 | |
| OSV | npm | electron | < 41.10.4 | 41.10.4 |
| OSV | npm | electron | >= 42.0.0-alpha.1, < 42.5.2 | 42.5.2 |
| OSV | npm | electron | >= 43.0.0-alpha.1, < 43.0.0 | 43.0.0 |
References
- https://github.com/electron/electron/commit/7ea14d5f55ecb11a30447701ddca16b3feee0bba · Patch, WEB
- https://github.com/electron/electron/commit/e26b2640e7795c42bfb111b76009cbb4327c9a69 · Patch, WEB
- https://github.com/electron/electron/commit/ebe1165ee2b05c203c26dd2244ef1c5b9b1c04da · Patch, WEB
- https://github.com/electron/electron/pull/52133 · Issue Tracking, Patch, WEB
- https://github.com/electron/electron/releases/tag/v41.10.4 · Issue Tracking, Patch, WEB
- https://github.com/electron/electron/releases/tag/v42.5.2 · Release Notes, WEB
- https://github.com/electron/electron/releases/tag/v43.0.0 · Release Notes, WEB
- https://github.com/electron/electron/security/advisories/GHSA-hq2x-r82h-9wj4 · Vendor Advisory, WEB
- https://github.com/electron/electron · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 29 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Sep 2026)