Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-113796 EUVD-2026-107368GHSA-2p8c-gr87-2676

Electron: SameSite cookie restrictions are not applied to windows opened from links

Published Oct 21, 2026 · Updated Oct 23, 2026 · Assigned by GitHub_M

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.6, Electron treated pages opened into a new window from links as application-initiated navigations instead of preserving the page containing the link as the initiator. The resulting top-level request could be classified as same-site, causing SameSite=Strict cookies to be sent and Sec-Fetch-Site not to identify the initiating page. An application that loads untrusted content and permits it to open new windows could therefore allow that content to make a credentialed request to another site that relies on SameSite cookies for CSRF protection. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.6.

Affected products

VendorProductAffectedFixed
electron electron < 42.11.3, >= 43.0.0-alpha.1, < 43.7.0, >= 44.0.0-alpha.1, < 44.3.0, >= 45.0.0-alpha.1, < 45.0.0-alpha.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron >= 45.0.0-alpha.1, < 45.0.0-alpha.6 45.0.0-alpha.6 GHSA-2p8c-gr87-2676
npm electron >= 44.0.0-alpha.1, < 44.3.0 44.3.0 GHSA-2p8c-gr87-2676
npm electron >= 43.0.0-alpha.1, < 43.7.0 43.7.0 GHSA-2p8c-gr87-2676
npm electron < 42.11.3 42.11.3 GHSA-2p8c-gr87-2676

References