Résumé
Electron: SameSite cookie restrictions are not applied to windows opened from links
Détails de l’avis
Impact
Pages opened into a new window from a link were loaded as if the app itself had navigated there rather than the page that contained the link, so the request was treated as same-site: SameSite=Strict cookies were sent and Sec-Fetch-Site did not identify the initiating page. Content shown in the app could use this to make a credentialed top-level request to another site that relies on SameSite cookies as a CSRF defence.
Apps are only affected if they load untrusted content and allow it to open new windows. Apps that deny new windows from untrusted content with setWindowOpenHandler are not affected.
Workarounds
Return { action: 'deny' } from setWindowOpenHandler for windows opened by untrusted content.
Fixed Versions
45.0.0-alpha.644.3.043.7.042.11.3
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Références
- https://github.com/advisories/GHSA-2p8c-gr87-2676
- https://github.com/electron/electron/security/advisories/GHSA-2p8c-gr87-2676
- https://nvd.nist.gov/vuln/detail/CVE-2026-113796
- 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
Vulnérabilités liées
Tout Supply chain →- MEDIUMCVE-2026-126355
Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- MEDIUMCVE-2026-109481
Microsoft Security Advisory CVE-2026-109481 - ASP.NET Core Elevation of Privilege Vulnerability
- MEDIUMCVE-2026-96629
AdminNeo: CSRF Token Secret Recoverable from Single Observed Token, Enabling Cross-Site Request Forgery
- MEDIUMCVE-2026-118266
Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method
- HIGHCVE-2026-84312
Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)
- MEDIUMCVE-2026-62322
Python Social Auth: Login CSRF in LINE backend (LineOAuth2) — missing OAuth state validation (incomplete fix of 5.0.0 campaign)