{"id":"CVE-2026-70608","aliases":["GHSA-9f4c-93c8-jc8g"],"url":"https://o3.security/vulnerability/CVE-2026-70608","summary":"Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path","details":"### Impact\nA sandboxed iframe without the `allow-popups` keyword could still open a new window (or trigger `setWindowOpenHandler`) with no user interaction, because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction.\n\nApps that embed untrusted content in sandboxed iframes and rely on the absence of `allow-popups` to prevent window creation are affected. Apps that deny window creation in `setWindowOpenHandler`, or that do not embed untrusted content in sandboxed iframes, are not affected.\n\n### Workarounds\nReturn `{ action: 'deny' }` from `setWindowOpenHandler` for any content you do not trust, rather than relying on the iframe sandbox alone.\n\n### Fixed Versions\n* `42.0.1`\n* `41.10.3`\n* `39.8.10`\n\n### For more information\nIf you have any questions or comments about this advisory, email Electron at [security@electronjs.org](mailto:security@electronjs.org)","published":"2026-08-05T17:27:15.743Z","modified":"2026-10-28T10:55:16.308482139Z","cvss":{"score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},"epss":{"score":0.00324,"percentile":0.25532,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"42.0.1"},{"ecosystem":"npm","name":"electron","fixedVersion":"41.10.3"},{"ecosystem":"npm","name":"electron","fixedVersion":"39.8.10"}],"fix":{"url":"https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57","label":"electron/electron@3ff23c5"},"references":[{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v39.8.10"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v41.10.3"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v42.0.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70608.json"},{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70608"},{"type":"FIX","url":"https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57"},{"type":"FIX","url":"https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3"},{"type":"FIX","url":"https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f"},{"type":"FIX","url":"https://github.com/electron/electron/pull/51437"},{"type":"FIX","url":"https://github.com/electron/electron/pull/51438"},{"type":"FIX","url":"https://github.com/electron/electron/pull/51439"},{"type":"PACKAGE","url":"https://github.com/electron/electron"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T10:55:16.308482139Z"}}