{"cve":"CVE-2026-70608","nvd":{"published":"2026-08-05T18:17:15.160","modified":"2026-10-08T13:53:39.950","status":"Analyzed","description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.3, and 42.0.1, a 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. Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected, while apps that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in 39.8.10, 41.10.3, and 42.0.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2},"cwes":["CWE-693","CWE-1021"],"references":["https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57","https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3","https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f","https://github.com/electron/electron/pull/51437","https://github.com/electron/electron/pull/51438"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T22:47:10.050265369+00:00"},"epss":{"cve":"CVE-2026-70608","score":0.00431,"percentile":0.3702,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9f4c-93c8-jc8g","url":"https://osv.dev/vulnerability/GHSA-9f4c-93c8-jc8g","summary":"Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path","modified":"2026-08-20T05:15:07.151820521Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=42.0.0-alpha.1 <42.0.1"],"fixed":["42.0.1"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=40.0.0-alpha.1 <41.10.3"],"fixed":["41.10.3"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<39.8.10"],"fixed":["39.8.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}