Skip to content
OpenAdvisories
High · 8.2 CVE-2026-102673 EUVD-2026-89078GHSA-hq2x-r82h-9wj4

Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab

Published Sep 29, 2026 · Updated Sep 30, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
electron electron < 41.10.4, >= 42.0.0-alpha.1, < 42.5.2, >= 43.0.0-alpha.1, < 43.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron < 41.10.4 41.10.4 GHSA-hq2x-r82h-9wj4
npm electron >= 42.0.0-alpha.1, < 42.5.2 42.5.2 GHSA-hq2x-r82h-9wj4
npm electron >= 43.0.0-alpha.1, < 43.0.0 43.0.0 GHSA-hq2x-r82h-9wj4

References