Vulnerability · Published Oct 21, 2026 · Assigned by GitHub_M
CVE-2026-114121Electron: openExternal permission requests can be attributed to the wrong origin
Medium 5.4
In plain English
A medium-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electron | 42.11.3 | GHSA-997q-gvvc-jwmx |
| npm | electron | 43.7.0 | GHSA-997q-gvvc-jwmx |
| npm | electron | 44.3.0 | GHSA-997q-gvvc-jwmx |
| npm | electron | 45.0.0-alpha.5 | GHSA-997q-gvvc-jwmx |
Affected products (as reported)
Weakness: CWE-346 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/electron/electron/security/advisories/GHSA-997q-gvvc-jwmx x_refsource_CONFIRM
- https://github.com/electron/electron/pull/53682 x_refsource_MISC
- https://github.com/electron/electron/pull/53696 x_refsource_MISC
- https://github.com/electron/electron/pull/53697 x_refsource_MISC
- https://github.com/electron/electron/pull/53698 x_refsource_MISC
- https://github.com/electron/electron/pull/53699 x_refsource_MISC
- https://github.com/electron/electron/commit/25057643bf6d9a20bad69e45707551ccf546f5ce x_refsource_MISC
- https://github.com/electron/electron/commit/8aa5414f73792ed3b2e3f9ab6391b1832e6dc2c3 x_refsource_MISC
- https://github.com/electron/electron/commit/92a783952891805f2f82f344c40a6917b98a7d98 x_refsource_MISC
- https://github.com/electron/electron/commit/e0a20d5277b567aea8603f8e9852a4341407a586 x_refsource_MISC
- https://github.com/electron/electron/commit/e3a400911084537bce7380ffea8af939572ce8dd x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v42.11.3 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v43.7.0 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v44.3.0 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v45.0.0-alpha.5 x_refsource_MISC