NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-113796: Electron: SameSite cookie restrictions are not applied to windows opened from links

mediumCVSS 3.1 4.2GHSA-2p8c-gr87-2676

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.

Published Oct 22, 2026

Affected packages

electron

Ecosystem
npm
Affected
>= 45.0.0-alpha.1, < 45.0.0-alpha.6
Fixed in
45.0.0-alpha.6
Check
npm ls electron

electron

Ecosystem
npm
Affected
>= 44.0.0-alpha.1, < 44.3.0
Fixed in
44.3.0
Check
npm ls electron

electron

Ecosystem
npm
Affected
>= 43.0.0-alpha.1, < 43.7.0
Fixed in
43.7.0
Check
npm ls electron

electron

Ecosystem
npm
Affected
< 42.11.3
Fixed in
42.11.3
Check
npm ls electron

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 [[email protected]](mailto:[email protected])

Credited to mingijunggrape.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries