Electron: openExternal permission requests can be attributed to the wrong origin (electron electron)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % Β· percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Undergoing Analysis
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.
Weaknesses (CWE)
- CWE-346 β Origin Validation Error
References
- https://github.com/electron/electron/security/advisories/GHSA-997q-gvvc-jwmx
- https://github.com/electron/electron/pull/53682
- https://github.com/electron/electron/pull/53696
- https://github.com/electron/electron/pull/53697
- https://github.com/electron/electron/pull/53698
- https://github.com/electron/electron/pull/53699
- https://github.com/electron/electron/commit/25057643bf6d9a20bad69e45707551ccf546f5ce
- https://github.com/electron/electron/commit/8aa5414f73792ed3b2e3f9ab6391b1832e6dc2c3
- https://github.com/electron/electron/commit/92a783952891805f2f82f344c40a6917b98a7d98
- https://github.com/electron/electron/commit/e0a20d5277b567aea8603f8e9852a4341407a586
- https://github.com/electron/electron/commit/e3a400911084537bce7380ffea8af939572ce8dd
- https://github.com/electron/electron/releases/tag/v42.11.3
- https://github.com/electron/electron/releases/tag/v43.7.0
- https://github.com/electron/electron/releases/tag/v44.3.0
- https://github.com/electron/electron/releases/tag/v45.0.0-alpha.5
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-997q-gvvc-jwmx β Electron: openExternal permission requests can be attributed to the wrong origin
European references
- ENISA EUVD Β· EUVD-2026-107361
- GCVE Β· GCVE-0-2026-114121
Affected products
| Product | Versions |
|---|---|
| electron Β· electron | affected < 42.11.3 ; affected >= 43.0.0-alpha.1, < 43.7.0 ; affected >= 44.0.0-alpha.1, < 44.3.0 ; affected >= 45.0.0-alpha.1, < 45.0.0-alpha.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |