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, hid and usb permission checks made from an iframe caused setPermissionCheckHandler to receive the top-level frame's origin and details instead of the requesting frame's. An application that delegated hid or usb to a cross-origin untrusted iframe and allowed device access with origin-based logic could therefore grant that embedded frame access intended for the top-level page. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5.
References10
- github.com/electron/electron/commit/22de0a3a06cfd3174fc6c59c381…
- github.com/electron/electron/commit/36042b2e1b1c60c67b05ba0e95d…
- github.com/electron/electron/commit/56cc43eb677d46b86b0d3f49b5f…
- github.com/electron/electron/commit/922073f8601479e93071f56f074…
- github.com/electron/electron/commit/c965cee73284c4b230a81d51a7d…
- github.com/electron/electron/pull/53656
- github.com/electron/electron/pull/53679
- github.com/electron/electron/pull/53688
- github.com/electron/electron/pull/53689
- github.com/electron/electron/pull/53736
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 15 · as of 8 November 2026
- CWE
- CWE-346
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.