{"id":"CVE-2026-113796","published":"2026-10-21T16:04:42Z","modified":"2026-10-23T15:12:14Z","title":"Electron: SameSite cookie restrictions are not applied to windows opened from links","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00215,"percentile":0.06914,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-2p8c-gr87-2676","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/electron/electron/pull/53683","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/53717","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/53718","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/53719","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/53721","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/652ef79ac79c6767b31e59b2f28d0d46114645e5","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/98940cb274bb6adcb7cdb2da2d4495ac83119670","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/a86ae4205ba2ba7ae60a6caa9d5d3a44321f2f9b","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v42.11.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v43.7.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v44.3.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v45.0.0-alpha.6","tags":["x_refsource_MISC"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":1.38},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T14:47:51.057147Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":[">=45.0.0-alpha.1, <45.0.0-alpha.6",">=44.0.0-alpha.1, <44.3.0",">=43.0.0-alpha.1, <43.7.0","<42.11.3"],"patched":["45.0.0-alpha.6","44.3.0","43.7.0","42.11.3"],"from":["GHSA-2p8c-gr87-2676"],"provenance":"source"}],"summary":{"text":"Electron's handling of new windows opened from links does not preserve the originating page as the initiator, so SameSite cookie restrictions are not applied to the resulting top-level request in the electron framework. An attacker who can get untrusted content into an application that loads it and permits it to open new windows can make a credentialed cross-site request, provided the target relies on SameSite cookies for CSRF protection and the victim must interact with the content (user interaction required, no prior authentication needed, network access suffices).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:19Z"},"euvd":{"id":"EUVD-2026-107368","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-electron-cve-2020-15174","parents":[{"from":"CVE-2020-15174","to":"CVE-2026-113796","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["shell/browser/api/electron_api_web_contents.cc"],"commits":["https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b","https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e","https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed"],"basis":"shared function","functions":["OpenURLFromTab"]}]},{"from":"CVE-2026-70608","to":"CVE-2026-113796","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["shell/browser/api/electron_api_web_contents.cc"],"commits":["https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e","https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed","https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57","https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3"],"basis":"shared function","functions":["OpenURLFromTab"]}]},{"from":"CVE-2026-102673","to":"CVE-2026-113796","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/browser/api/web-contents.ts","lib/browser/guest-window-manager.ts","typings/internal-electron.d.ts"],"commits":["https://github.com/electron/electron/commit/7ea14d5f55ecb11a30447701ddca16b3feee0bba","https://github.com/electron/electron/commit/e26b2640e7795c42bfb111b76009cbb4327c9a69","https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e","https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed"],"basis":"shared function","functions":["OpenURLFromTab","openGuestWindow"]}]},{"from":"CVE-2026-102674","to":"CVE-2026-113796","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["shell/browser/api/electron_api_web_contents.cc"],"commits":["https://github.com/electron/electron/commit/29fc130569f970e91e355383821a4af0f25724a2","https://github.com/electron/electron/commit/3ecf3e74f4be6e2360644679b0b4698742be0e1d","https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e","https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed"],"basis":"shared function","functions":["OpenURLFromTab"]}]},{"from":"CVE-2026-102676","to":"CVE-2026-113796","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/browser/guest-window-manager.ts"],"commits":["https://github.com/electron/electron/commit/6462a2e1dc4e6adffd3b7d9b9be1474c45dcbbe2","https://github.com/electron/electron/commit/9a675aef8822bae4088567822969f900b3a37671","https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e","https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-113797","published":"2026-10-21","fixed":"45.0.0-alpha.4","kev":false,"link":{"from":"CVE-2026-113797","to":"CVE-2026-113796","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.11.1","toFixed":"42.11.3","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"43.5.1","toFixed":"43.7.0","daysApart":0}]}},{"cve":"CVE-2026-113800","published":"2026-10-21","fixed":"45.0.0-alpha.5","kev":false},{"cve":"CVE-2026-114121","published":"2026-10-21","fixed":"45.0.0-alpha.5","kev":false,"link":{"from":"CVE-2026-114121","to":"CVE-2026-113796","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"45.0.0-alpha.5","toFixed":"45.0.0-alpha.6","daysApart":0}]}},{"cve":"CVE-2026-113796","published":"2026-10-21","fixed":"45.0.0-alpha.6","kev":false},{"cve":"CVE-2026-114122","published":"2026-10-21","fixed":"45.0.0-alpha.9","kev":false,"link":{"from":"CVE-2026-113796","to":"CVE-2026-114122","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"45.0.0-alpha.6","toFixed":"45.0.0-alpha.9","daysApart":0}]}},{"cve":"CVE-2026-114124","published":"2026-10-21","fixed":"45.0.0-alpha.9","kev":false,"link":{"from":"CVE-2026-113796","to":"CVE-2026-114124","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"45.0.0-alpha.6","toFixed":"45.0.0-alpha.9","daysApart":0}]}},{"cve":"CVE-2026-115570","published":"2026-10-23","fixed":"45.0.0-beta.6","kev":false}],"package":"npm:electron"}}