{"id":"CVE-2026-102673","aliases":["CVE-2026-102673","GHSA-hq2x-r82h-9wj4"],"related":[],"kind":"vulnerability","state":"published","title":"Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nPopups opened from a sandboxed iframe through a link (for example `target=\"_blank\"` or a middle-click) did not inherit the iframe's HTML `sandbox` restrictions. Content that was meant to run sandboxed could open a popup with the embedding app's full origin, gaining access to that origin's cookies, storage, and same-origin scripting.\n\nApps are only affected if they embed untrusted content in iframes sandboxed with `allow-scripts allow-popups`. Apps that do not embed untrusted content in sandboxed iframes are not affected.\n\n### Workarounds\n\nUse `setWindowOpenHandler` on the parent `WebContents` to deny or constrain popups opened from sandboxed frames, or do not apply `allow-popups` to sandboxed iframes that render untrusted content.\n\n### Fixed Versions\n\n* `43.0.0`\n* `42.5.2`\n* `41.10.4`\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)","format":"markdown","source":"ghsa"}],"published":"2026-09-29T16:38:41.946Z","modified":"2026-10-15T14:01:06.497Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-346","CWE-693"],"affected":[{"ranges":[{"version":"< 41.10.4","status":"affected"},{"version":">= 42.0.0-alpha.1, < 42.5.2","status":"affected"},{"version":">= 43.0.0-alpha.1, < 43.0.0","status":"affected"}],"vendor":"electron","product":"electron","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"41.10.4"}],"ecosystem":"npm","package":"electron","purl":"pkg:npm/electron","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"42.0.0-alpha.1","status":"affected","fixed":"42.5.2"}],"ecosystem":"npm","package":"electron","purl":"pkg:npm/electron","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"43.0.0-alpha.1","status":"affected","fixed":"43.0.0"}],"ecosystem":"npm","package":"electron","purl":"pkg:npm/electron","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"39.8.8"},{"status":"affected","introduced":"40.0.0","fixed":"40.9.0"},{"status":"affected","introduced":"41.0.0","lastAffected":"41.2.1"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"},{"status":"affected","version":"42.0.0"}],"vendor":"electronjs","product":"electron","cpe":"cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-hq2x-r82h-9wj4","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/pull/52133","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/commit/7ea14d5f55ecb11a30447701ddca16b3feee0bba","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/commit/e26b2640e7795c42bfb111b76009cbb4327c9a69","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/commit/ebe1165ee2b05c203c26dd2244ef1c5b9b1c04da","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/releases/tag/v41.10.4","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/releases/tag/v42.5.2","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron/releases/tag/v43.0.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/electron/electron","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-30T19:34:09.694Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-102673","url":"https://www.cve.org/CVERecord?id=CVE-2026-102673","licence":"CVE Terms of Use","modified":"2026-09-30T20:11:08.290Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hq2x-r82h-9wj4","url":"https://github.com/advisories/GHSA-hq2x-r82h-9wj4","licence":"CC-BY-4.0","modified":"2026-09-29T18:15:04.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-102673","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102673","licence":"Public domain","modified":"2026-10-15T14:01:06.497Z"}],"updatedAt":"2026-11-25T22:59:41.494Z","epss":{"score":0.00132,"percentile":0.02988,"date":"2026-12-01T12:00:22.000Z"}}