{"cve":"CVE-2026-34765","nvd":{"published":"2026-04-07T22:16:22.960","modified":"2026-07-24T22:10:00.140","status":"Analyzed","description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, when a renderer calls window.open() with a target name, Electron did not correctly scope the named-window lookup to the opener's browsing context group. A renderer could navigate an existing child window that was opened by a different, unrelated renderer if both used the same target name. If that existing child was created with more permissive webPreferences (via setWindowOpenHandler's overrideBrowserWindowOptions), content loaded by the second renderer inherits those permissions. Apps are only affected if they open multiple top-level windows with differing trust levels and use setWindowOpenHandler to grant child windows elevated webPreferences such as a privileged preload script. Apps that do not elevate child window privileges, or that use a single top-level window, are not affected. Apps that additionally grant nodeIntegration: true or sandbox: false to child windows (contrary to the security recommendations) may be exposed to arbitrary code execution. This vulnerability is fixed in 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-668"],"references":["https://github.com/electron/electron/security/advisories/GHSA-f3pv-wv63-48x8"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-34765","score":0.003,"percentile":0.22696,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f3pv-wv63-48x8","url":"https://osv.dev/vulnerability/GHSA-f3pv-wv63-48x8","summary":"Electron: Named window.open targets not scoped to the opener's browsing context","modified":"2026-04-08T12:08:27.365316Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<39.8.5"],"fixed":["39.8.5"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=40.0.0-alpha.1 <40.8.5"],"fixed":["40.8.5"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=41.0.0-alpha.1 <41.1.0"],"fixed":["41.1.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=42.0.0-alpha.1 <42.0.0-alpha.5"],"fixed":["42.0.0-alpha.5"]}]}],"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."]}