{"cve":"CVE-2026-70612","nvd":{"published":"2026-08-05T19:17:41.260","modified":"2026-10-08T13:49:00.927","status":"Analyzed","description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, requests to open external protocol URLs from web content did not take iframe sandbox restrictions into account, so a sandboxed iframe could cause an OS-registered external application to be launched. The frame sandbox state was also not made available to the app permission handlers, affecting apps that render untrusted content in sandboxed iframes and grant the openExternal permission by default when no setPermissionRequestHandler is installed. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-284"],"references":["https://github.com/electron/electron/commit/08b9d0a220e267d1a2402a44bdd01a2e9aa320b5","https://github.com/electron/electron/commit/2764e4c35168855f614876051823db4f58a3714a","https://github.com/electron/electron/commit/477dcf7afc6550715f9ec5e6f39ee38e5dd7bf39","https://github.com/electron/electron/commit/c39e3d5687d57434c8d5fe814c5152efd2f631c3","https://github.com/electron/electron/pull/50961"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T22:47:10.050265369+00:00"},"epss":{"cve":"CVE-2026-70612","score":0.00429,"percentile":0.3689,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-p2rr-rvmm-c5fp","url":"https://osv.dev/vulnerability/GHSA-p2rr-rvmm-c5fp","summary":"Electron: Sandboxed iframes can launch external protocol handlers","modified":"2026-08-05T18:11:04.190515Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<39.8.8"],"fixed":["39.8.8"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=40.0.0-alpha.1 <40.9.0"],"fixed":["40.9.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=41.0.0-alpha.1 <41.2.1"],"fixed":["41.2.1"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=42.0.0-alpha.1 <42.0.0-beta.3"],"fixed":["42.0.0-beta.3"]}]}],"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."]}