CVE-2026-70612Electron: Sandboxed iframes can launch external protocol handlers
- 5.4MediumCVSS base score
- 0.43%Exploitation in 30 daysEPSS · top 62% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.43% · top 62% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmelectronGHSA-p2rr-rvmm-c5fp (opens in a new tab)
References
References13
- https://github.com/electron/electron/security/advisories/GHSA-p2rr-rvmm-c5fp (opens in a new tab)x_refsource_CONFIRM
- https://github.com/electron/electron/pull/50961 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/pull/50962 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/pull/50963 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/pull/50964 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/commit/08b9d0a220e267d1a2402a44bdd01a2e9aa320b5 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/commit/2764e4c35168855f614876051823db4f58a3714a (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/commit/477dcf7afc6550715f9ec5e6f39ee38e5dd7bf39 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/commit/c39e3d5687d57434c8d5fe814c5152efd2f631c3 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v39.8.8 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v40.9.0 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v41.2.1 (opens in a new tab)x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v42.0.0-beta.3 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-53546 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p2rr-rvmm-c5fp (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-70612)Record last updated .