[ CVE-2026-114121 · Published 21 Oct 2026 ]
Electron: openExternal permission requests can be attributed to the wrong origin
[ Description ]Official description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5, requests to open external protocol URLs could be attributed to a document other than the one that initiated them, causing the requestingUrl passed to session.setPermissionRequestHandler to identify trusted content for a launch requested by untrusted content. An application that grants openExternal based on the requesting origin and allows untrusted content to open or navigate windows could therefore allow that content to launch an OS-registered external application. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5.
[ Fixes ]Fixes and patches
- electron 42.11.3Fixed version · GitHub Advisories · npm package electron: upgrade to 42.11.3 or later (affected < 42.11.3)
- electron 43.7.0Fixed version · GitHub Advisories · npm package electron: upgrade to 43.7.0 or later (affected >= 43.0.0-alpha.1, < 43.7.0)
- electron 44.3.0Fixed version · GitHub Advisories · npm package electron: upgrade to 44.3.0 or later (affected >= 44.0.0-alpha.1, < 44.3.0)
- electron 45.0.0-alpha.5Fixed version · GitHub Advisories · npm package electron: upgrade to 45.0.0-alpha.5 or later (affected >= 45.0.0-alpha.1, < 45.0.0-alpha.5)
[ Packages ]Affected open-source packages
- electron npmAffected < 42.11.3 · fixed in 42.11.3 · GHSA-997q-gvvc-jwmx
- electron npmAffected >= 43.0.0-alpha.1, < 43.7.0 · fixed in 43.7.0 · GHSA-997q-gvvc-jwmx
- electron npmAffected >= 44.0.0-alpha.1, < 44.3.0 · fixed in 44.3.0 · GHSA-997q-gvvc-jwmx
- electron npmAffected >= 45.0.0-alpha.1, < 45.0.0-alpha.5 · fixed in 45.0.0-alpha.5 · GHSA-997q-gvvc-jwmx
[ References ]References
- github.com/electron/electron/commit/25057643bf6d9a20bad69e45707551ccf546f5ce
- github.com/electron/electron/commit/8aa5414f73792ed3b2e3f9ab6391b1832e6dc2c3
- github.com/electron/electron/commit/92a783952891805f2f82f344c40a6917b98a7d98
- github.com/electron/electron/commit/e0a20d5277b567aea8603f8e9852a4341407a586
- github.com/electron/electron/commit/e3a400911084537bce7380ffea8af939572ce8dd
- github.com/electron/electron/pull/53682
- github.com/electron/electron/pull/53696
- github.com/electron/electron/pull/53697
- github.com/electron/electron/pull/53698
- github.com/electron/electron/pull/53699
- github.com/electron/electron/releases/tag/v42.11.3
- github.com/electron/electron/releases/tag/v43.7.0
- github.com/electron/electron/releases/tag/v44.3.0
- github.com/electron/electron/releases/tag/v45.0.0-alpha.5
- github.com/electron/electron/security/advisories/GHSA-997q-gvvc-jwmx