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.
Return { action: 'deny' } from setWindowOpenHandler for windows opened by untrusted content.
45.0.0-alpha.644.3.043.7.042.11.3If you have any questions or comments about this advisory, email us at security@electronjs.org
{
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-22T16:47:54Z",
"nvd_published_at": "2026-10-21T17:18:24Z",
"severity": "MODERATE"
}