Skip to content

CVE-2026-113796 Electron: SameSite cookie restrictions are not applied to windows opened from links

MediumCVSS 4.2 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm electron(npm) < 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 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6 Fixed
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 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
electron = < 42.11.3 No fix listed
electron = >= 43.0.0-alpha.1, < 43.7.0 No fix listed
electron = >= 44.0.0-alpha.1, < 44.3.0 No fix listed
electron = >= 45.0.0-alpha.1, < 45.0.0-alpha.6 No fix listed
npm electron(npm) >= 45.0.0-alpha.1, < 45.0.0-alpha.6 45.0.0-alpha.6
npm electron(npm) >= 44.0.0-alpha.1, < 44.3.0 44.3.0
npm electron(npm) >= 43.0.0-alpha.1, < 43.7.0 43.7.0
npm electron(npm) < 42.11.3 42.11.3

References