Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-114121 EUVD-2026-107361GHSA-997q-gvvc-jwmx

Electron: openExternal permission requests can be attributed to the wrong origin

Published Oct 21, 2026 · Updated Oct 28, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
electron electron < 42.11.3, >= 43.0.0-alpha.1, < 43.7.0, >= 44.0.0-alpha.1, < 44.3.0, >= 45.0.0-alpha.1, < 45.0.0-alpha.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron < 42.11.3 42.11.3 GHSA-997q-gvvc-jwmx
npm electron >= 43.0.0-alpha.1, < 43.7.0 43.7.0 GHSA-997q-gvvc-jwmx
npm electron >= 44.0.0-alpha.1, < 44.3.0 44.3.0 GHSA-997q-gvvc-jwmx
npm electron >= 45.0.0-alpha.1, < 45.0.0-alpha.5 45.0.0-alpha.5 GHSA-997q-gvvc-jwmx

References