CVE-2026-113796

Electron: SameSite cookie restrictions are not applied to windows opened from links

Published Oct 21, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Electron treats pages opened via links as application‑initiated navigations before version 42.11.3, 43.7.0, 44.3.0, and 45.0.0‑alpha.6, causing the top‑level request to be classified as same‑site. This allows SameSite=Strict cookies to be sent and the Sec‑Fetch‑Site header to omit the initiating page, letting an attacker in a loaded untrusted page send credentialed requests to other sites that rely on SameSite cookies for CSRF protection.

Affected Systems

All Electron applications built with the affected releases that load untrusted web content and allow links to open new windows are vulnerable. Versions earlier than 42.11.3, 43.7.0, 44.3.0, and 45.0.0‑alpha.6 are impacted.

Risk and Exploitability

The CVSS score of 4.2 indicates low severity; the EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by having an Electron app load an external page that uses window.open from a link; the resulting same‑site context bypasses SameSite restrictions and enables credentialed requests to other sites that rely on SameSite cookies for CSRF protection. The attack vector is inferred from the description as an Electron application that loads untrusted content and permits links to open new windows.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Electron to version 42.11.3 or newer (43.7.0, 44.3.0, or 45.0.0‑alpha.6) to apply the fix.
  • If an upgrade is not immediately feasible, disable the ability of untrusted content to open new windows or enforce a strict Content Security Policy that blocks window.open calls from external origins.
  • Consider reviewing any third‑party web views and ensure that external content is sandboxed or served from a separate process with limited permissions.

Generated by OpenCVE AI on October 22, 2026 at 04:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2p8c-gr87-2676 Electron: SameSite cookie restrictions are not applied to windows opened from links
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
Type Values Removed Values Added
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.
Title Electron: SameSite cookie restrictions are not applied to windows opened from links
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 23, 2026, 3:12 PM
Reserved
Oct 20, 2026, 5:39 PM
Status
Undergoing Analysis
Published
Oct 21, 2026, 5:18 PM
Modified
Oct 23, 2026, 3:17 PM