CVE-2026-113796 Electron: SameSite cookie restrictions are not applied to windows opened from links
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-113796?
CVE-2026-113796 is a medium-severity vulnerability in electron, published on 21 Oct 2026.
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.
Weakness: CWE-352
Which versions are affected by CVE-2026-113796?
8 open source packages ship an affected version, including electron.
| Package | Affected | Fixed in |
|---|---|---|
electron npm | All versions | 42.11.3 |
electron npm | All versions | 42.11.3 |
electron npm | From 43.0.0-alpha.1 | 43.7.0 |
electron npm | From 43.0.0-alpha.1 | 43.7.0 |
electron npm | From 44.0.0-alpha.1 | 44.3.0 |
electron npm | From 44.0.0-alpha.1 | 44.3.0 |
2 more packages
electron npm | From 45.0.0-alpha.1 | 45.0.0-alpha.6 |
electron npm | From 45.0.0-alpha.1 | 45.0.0-alpha.6 |
How do I fix CVE-2026-113796?
Upgrade electron to a fixed version for your release line: 42.11.3, 43.7.0, 44.3.0 or 45.0.0-alpha.6.
Is CVE-2026-113796 being exploited?
There is no known exploitation of CVE-2026-113796 in the wild and no public exploit code.
Sources
Also known as GHSA-2p8c-gr87-2676.