[ CVE-2026-113796 · Published 21 Oct 2026 ]
Electron: SameSite cookie restrictions are not applied to windows opened from links
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- electron 45.0.0-alpha.6Fixed version · GitHub Advisories · npm package electron: upgrade to 45.0.0-alpha.6 or later (affected >= 45.0.0-alpha.1, < 45.0.0-alpha.6)
- electron 44.3.0Fixed version · GitHub Advisories · npm package electron: upgrade to 44.3.0 or later (affected >= 44.0.0-alpha.1, < 44.3.0)
- electron 43.7.0Fixed version · GitHub Advisories · npm package electron: upgrade to 43.7.0 or later (affected >= 43.0.0-alpha.1, < 43.7.0)
- electron 42.11.3Fixed version · GitHub Advisories · npm package electron: upgrade to 42.11.3 or later (affected < 42.11.3)
[ Packages ]Affected open-source packages
- electron npmAffected >= 45.0.0-alpha.1, < 45.0.0-alpha.6 · fixed in 45.0.0-alpha.6 · GHSA-2p8c-gr87-2676
- electron npmAffected >= 44.0.0-alpha.1, < 44.3.0 · fixed in 44.3.0 · GHSA-2p8c-gr87-2676
- electron npmAffected >= 43.0.0-alpha.1, < 43.7.0 · fixed in 43.7.0 · GHSA-2p8c-gr87-2676
- electron npmAffected < 42.11.3 · fixed in 42.11.3 · GHSA-2p8c-gr87-2676
[ References ]References
- github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e
- github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed
- github.com/electron/electron/commit/652ef79ac79c6767b31e59b2f28d0d46114645e5
- github.com/electron/electron/commit/98940cb274bb6adcb7cdb2da2d4495ac83119670
- github.com/electron/electron/commit/a86ae4205ba2ba7ae60a6caa9d5d3a44321f2f9b
- github.com/electron/electron/pull/53683
- github.com/electron/electron/pull/53717
- github.com/electron/electron/pull/53718
- github.com/electron/electron/pull/53719
- github.com/electron/electron/pull/53721
- github.com/electron/electron/releases/tag/v42.11.3
- github.com/electron/electron/releases/tag/v43.7.0
- github.com/electron/electron/releases/tag/v44.3.0
- github.com/electron/electron/releases/tag/v45.0.0-alpha.6
- github.com/electron/electron/security/advisories/GHSA-2p8c-gr87-2676