Electron mishandles SameSite cookies for windows opened from links
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Tampering
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
Electron versions before 42.11.3, from 43.0.0-alpha.1 before 43.7.0, from 44.0.0-alpha.1 before 44.3.0, and from 45.0.0-alpha.1 before 45.0.0-alpha.6 treat pages opened into a new window from links as application-initiated navigations. The top-level request can be classified as same-site, so SameSite=Strict cookies are sent, and Sec-Fetch-Site does not identify the initiating page. This cross-site request forgery flaw (CWE-352) lets untrusted content make a credentialed request to another site that relies on SameSite cookies for CSRF protection, if the application loads that content and allows it to open new windows.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electron | electron | before 42.11.3; 43.0.0-alpha.1 to before 43.7.0; 44.0.0-alpha.1 to before 44.3.0; 45.0.0-alpha.1 to before 45.0.0-alpha.6 | 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6 | Patch available | CNA |
| — | electron (npm) | 45.0.0-alpha.1 to before 45.0.0-alpha.6 | 45.0.0-alpha.6 | Patch available | GHSA-2p8c-gr87-2676 |
| — | electron (npm) | 44.0.0-alpha.1 to before 44.3.0 | 44.3.0 | Patch available | GHSA-2p8c-gr87-2676 |
| — | electron (npm) | 43.0.0-alpha.1 to before 43.7.0 | 43.7.0 | Patch available | GHSA-2p8c-gr87-2676 |
| — | electron (npm) | before 42.11.3 | 42.11.3 | Patch available | GHSA-2p8c-gr87-2676 |
- electron Vendorelectron Affected before 42.11.3; 43.0.0-alpha.1 to before 43.7.0; 44.0.0-alpha.1 to before 44.3.0; 45.0.0-alpha.1 to before 45.0.0-alpha.6 Fixed in 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6 Patch available CNA
- electron (npm) Vendor— Affected 45.0.0-alpha.1 to before 45.0.0-alpha.6 Fixed in 45.0.0-alpha.6 Patch available GHSA-2p8c-gr87-2676
- electron (npm) Vendor— Affected 44.0.0-alpha.1 to before 44.3.0 Fixed in 44.3.0 Patch available GHSA-2p8c-gr87-2676
- electron (npm) Vendor— Affected 43.0.0-alpha.1 to before 43.7.0 Fixed in 43.7.0 Patch available GHSA-2p8c-gr87-2676
- electron (npm) Vendor— Affected before 42.11.3 Fixed in 42.11.3 Patch available GHSA-2p8c-gr87-2676
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* | — | — | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* Versions — — ·Electronjs
Remediation
Upgrade to Electron 42.11.3, 43.7.0, 44.3.0 or 45.0.0-alpha.6, one for each release line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA electron (electron) Fixed in 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6
- Fix · GHSA-2p8c-gr87-2676 electron (npm) Fixed in 45.0.0-alpha.6 Advisory →
- Fix · GHSA-2p8c-gr87-2676 electron (npm) Fixed in 44.3.0 Advisory →
- Fix · GHSA-2p8c-gr87-2676 electron (npm) Fixed in 43.7.0 Advisory →
- Fix · GHSA-2p8c-gr87-2676 electron (npm) Fixed in 42.11.3 Advisory →
Vendor assessments
Timeline
- 2026-10-21 Threatist record created from CVE-2026-113796
- 2026-10-22 Alias added: GHSA-2p8c-gr87-2676
- 2026-10-22 Fix available: npm/[email protected], npm/[email protected], npm/[email protected] +1 · GHSA-2p8c-gr87-2676
- 2026-10-22 CVSS score added · GHSA-2p8c-gr87-2676
- 2026-10-22 Weakness changed · GHSA-2p8c-gr87-2676
- 2026-10-22 17 new references · GHSA-2p8c-gr87-2676
- 2026-10-23 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Other 16
- https://github.com/electron/electron/security/advisories/GHSA-2p8c-gr87-2676
- https://github.com/electron/electron/pull/53683
- https://github.com/electron/electron/pull/53717
- https://github.com/electron/electron/pull/53718
- https://github.com/electron/electron/pull/53719
- https://github.com/electron/electron/pull/53721
- https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e
- https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed
- https://github.com/electron/electron/commit/652ef79ac79c6767b31e59b2f28d0d46114645e5
- https://github.com/electron/electron/commit/98940cb274bb6adcb7cdb2da2d4495ac83119670
- https://github.com/electron/electron/commit/a86ae4205ba2ba7ae60a6caa9d5d3a44321f2f9b
- https://github.com/electron/electron/releases/tag/v42.11.3
- https://github.com/electron/electron/releases/tag/v43.7.0
- https://github.com/electron/electron/releases/tag/v44.3.0
- https://github.com/electron/electron/releases/tag/v45.0.0-alpha.6
- https://github.com/electron/electron
More electron vulnerabilities
- TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
- TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
- TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
- TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
- TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
- TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-113796 · CVE Program
- CVE-2026-113796 · NVD
- FIRST EPSS
- GHSA-2p8c-gr87-2676 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-113796 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences