CVE-2026-113796
Electron: SameSite cookie restrictions are not applied to windows opened from links
Also known as GHSA-2p8c-gr87-2676
Mitigation
- Upgrade electron to one of 45.0.0-alpha.6, 44.3.0, 43.7.0, 42.11.3 (or later in the same release line).
Who should check
- Projects that depend on npm package electron (>= 45.0.0-alpha.1, < 45.0.0-alpha.6)
- Anyone running 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
Vulnerability facts
- Affected
- electron >= 45.0.0-alpha.1, < 45.0.0-alpha.6
- Fixed in
- 45.0.0-alpha.6, 44.3.0, 43.7.0, 42.11.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-352
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-113796. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-113796.md Affected: electron >= 45.0.0-alpha.1, < 45.0.0-alpha.6 Fixed in: 45.0.0-alpha.6, 44.3.0, 43.7.0, 42.11.3 Steps: 1. Search this machine and project for electron (npm), electron: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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
FAQ
Is CVE-2026-113796 being exploited?
There is no confirmed exploitation: CVE-2026-113796 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-113796?
Medium: CVSS 4.2 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-113796?
electron >= 45.0.0-alpha.1, < 45.0.0-alpha.6.
Is there a fix for CVE-2026-113796?
Yes. Fixed in 45.0.0-alpha.6, 44.3.0, 43.7.0, 42.11.3. Upgrade electron to one of 45.0.0-alpha.6, 44.3.0, 43.7.0, 42.11.3 (or later in the same release line).
How do I check if I'm affected by CVE-2026-113796?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.