{"schemaVersion":3,"id":"CVE-2026-70612","aliases":["GHSA-p2rr-rvmm-c5fp"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-05T17:56:41.464Z","modified":"2026-08-05T19:03:29.121Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":5.6,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00429,"percentile":0.36063,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.02299999999999993,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00452},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00429,"percentile":0.36063}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00429,"percentile":0.36063}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 39.8.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.9.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.2.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 42.0.0-alpha.1, < 42.0.0-beta.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.8.8 | ≥ 40.0.0-alpha.1, < 40.9.0 | ≥ 41.0.0-alpha.1, < 41.2.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.3","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 39.8.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0, < 40.9.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0, ≤ 41.2.1","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:alpha4","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:alpha5","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:alpha6","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"42.0.0:beta2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.8.8 | ≥ 40.0.0, < 40.9.0 | ≥ 41.0.0, ≤ 41.2.1 | 42.0.0:alpha1 | 42.0.0:alpha2 | 42.0.0:alpha3 | 42.0.0:alpha4 | 42.0.0:alpha5 | 42.0.0:alpha6 | 42.0.0:beta1 | 42.0.0:beta2","eol":{"isEol":true,"eolDate":"2026-10-20T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"42","label":"42","eolFrom":"2026-10-20T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"42.11.18"},"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 39.8.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.9.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.2.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 42.0.0-alpha.1, < 42.0.0-beta.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.8.8 | ≥ 40.0.0-alpha.1, < 40.9.0 | ≥ 41.0.0-alpha.1, < 41.2.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.3","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-p2rr-rvmm-c5fp","label":"github.com/electron/electron/security/advisories/GHSA-p2rr-rvmm-c5fp","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory","Mitigation"]},{"url":"https://github.com/electron/electron/pull/50961","label":"github.com/electron/electron/pull/50961","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/electron/electron/pull/50962","label":"github.com/electron/electron/pull/50962","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/electron/electron/pull/50963","label":"github.com/electron/electron/pull/50963","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/electron/electron/pull/50964","label":"github.com/electron/electron/pull/50964","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/electron/electron/commit/08b9d0a220e267d1a2402a44bdd01a2e9aa320b5","label":"github.com/electron/electron/commit/08b9d0a220e267d1a2402a44bdd01a2e9aa320b5","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/electron/electron/commit/2764e4c35168855f614876051823db4f58a3714a","label":"github.com/electron/electron/commit/2764e4c35168855f614876051823db4f58a3714a","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/electron/electron/commit/477dcf7afc6550715f9ec5e6f39ee38e5dd7bf39","label":"github.com/electron/electron/commit/477dcf7afc6550715f9ec5e6f39ee38e5dd7bf39","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/electron/electron/commit/c39e3d5687d57434c8d5fe814c5152efd2f631c3","label":"github.com/electron/electron/commit/c39e3d5687d57434c8d5fe814c5152efd2f631c3","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/electron/electron/releases/tag/v39.8.8","label":"github.com/electron/electron/releases/tag/v39.8.8","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/electron/electron/releases/tag/v40.9.0","label":"github.com/electron/electron/releases/tag/v40.9.0","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/electron/electron/releases/tag/v41.2.1","label":"github.com/electron/electron/releases/tag/v41.2.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/electron/electron/releases/tag/v42.0.0-beta.3","label":"github.com/electron/electron/releases/tag/v42.0.0-beta.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-05T17:56:41.464Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-05T19:03:29.121Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:59:08.441Z","stale":false,"partial":false}}