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

CVE-2026-114121
MEDIUM 5.4

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

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NGitHub_M
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NNVD Β· security-advisories@github.com (Secondary)

Advisories

European references

Affected products

ProductVersions
electron Β· electronaffected < 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD