All vulnerabilities
CVE-2026-113796GHSA-2p8c-gr87-2676

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

electron electronnpmRuntimes & languages
CVSS
4.2Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.18%Chance of exploitation activity in the next 30 days, higher than 7% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in45.0.0-alpha.6Also 44.3.0, 43.7.0 and 1 moreGitHub
Published21 Oct 2026Updated 23 Oct 2026CVE List

What fixes it

  • 45.0.0-alpha.6electron, npmGitHubnpm install electron@45.0.0-alpha.6
  • 44.3.0electron, npmGitHubnpm install electron@44.3.0
  • 43.7.0electron, npmGitHubnpm install electron@43.7.0
  • 42.11.3electron, npmGitHubnpm install electron@42.11.3

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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.6
  • 44.3.0
  • 43.7.0
  • 42.11.3

For more information

If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)

Text from GitHub Advisory Database

Affected versions 12

  • electron, npm>= 45.0.0-alpha.1, < 45.0.0-alpha.6GitHub
  • electron, npm>= 44.0.0-alpha.1, < 44.3.0GitHub
  • electron, npm>= 43.0.0-alpha.1, < 43.7.0GitHub
  • electron, npm< 42.11.3GitHub
  • electronaffected: < 42.11.3CVE List
  • electronaffected: >= 43.0.0-alpha.1, < 43.7.0CVE List
  • electronaffected: >= 44.0.0-alpha.1, < 44.3.0CVE List
  • electronaffected: >= 45.0.0-alpha.1, < 45.0.0-alpha.6CVE List
  • electron, npmfrom 45.0.0-alpha.1, fixed in 45.0.0-alpha.6OSV
  • electron, npmfrom 44.0.0-alpha.1, fixed in 44.3.0OSV
  • electron, npmfrom 43.0.0-alpha.1, fixed in 43.7.0OSV
  • electron, npmfrom first release, fixed in 42.11.3OSV

References 17