HID and USB permission checks attributed to wrong origin in Electron
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-346.
Summary
Electron versions before 42.11.3, from 43.0.0-alpha.1 before 43.7.0, from 44.0.0-alpha.1 before 44.3.0, and from 45.0.0-alpha.1 before 45.0.0-alpha.5 are affected. HID and USB permission checks made from an iframe cause setPermissionCheckHandler to receive the top-level frame's origin and details instead of the requesting frame's (CWE-346). An untrusted cross-origin iframe that the application delegated hid or usb to can therefore gain device access meant for the top-level page when the application uses origin-based logic.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electron | electron | before 42.11.3; 43.0.0-alpha.1 to before 43.7.0; 44.0.0-alpha.1 to before 44.3.0; 45.0.0-alpha.1 to before 45.0.0-alpha.5 | 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5 | Patch available | CNA |
| — | electron (npm) | 45.0.0-alpha.1 to before 45.0.0-alpha.5 | 45.0.0-alpha.5 | Patch available | GHSA-fw47-9c62-h3vw |
| — | electron (npm) | 44.0.0-alpha.1 to before 44.3.0 | 44.3.0 | Patch available | GHSA-fw47-9c62-h3vw |
| — | electron (npm) | 43.0.0-alpha.1 to before 43.7.0 | 43.7.0 | Patch available | GHSA-fw47-9c62-h3vw |
| — | electron (npm) | before 42.11.3 | 42.11.3 | Patch available | GHSA-fw47-9c62-h3vw |
- electron Vendorelectron Affected before 42.11.3; 43.0.0-alpha.1 to before 43.7.0; 44.0.0-alpha.1 to before 44.3.0; 45.0.0-alpha.1 to before 45.0.0-alpha.5 Fixed in 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5 Patch available CNA
- electron (npm) Vendor— Affected 45.0.0-alpha.1 to before 45.0.0-alpha.5 Fixed in 45.0.0-alpha.5 Patch available GHSA-fw47-9c62-h3vw
- electron (npm) Vendor— Affected 44.0.0-alpha.1 to before 44.3.0 Fixed in 44.3.0 Patch available GHSA-fw47-9c62-h3vw
- electron (npm) Vendor— Affected 43.0.0-alpha.1 to before 43.7.0 Fixed in 43.7.0 Patch available GHSA-fw47-9c62-h3vw
- electron (npm) Vendor— Affected before 42.11.3 Fixed in 42.11.3 Patch available GHSA-fw47-9c62-h3vw
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* | — | — | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* Versions — — ·Electronjs
Remediation
Upgrade Electron to 42.11.3, 43.7.0, 44.3.0 or 45.0.0-alpha.5, depending on the release line in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA electron (electron) Fixed in 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5
- Fix · GHSA-fw47-9c62-h3vw electron (npm) Fixed in 45.0.0-alpha.5 Advisory →
- Fix · GHSA-fw47-9c62-h3vw electron (npm) Fixed in 44.3.0 Advisory →
- Fix · GHSA-fw47-9c62-h3vw electron (npm) Fixed in 43.7.0 Advisory →
- Fix · GHSA-fw47-9c62-h3vw electron (npm) Fixed in 42.11.3 Advisory →
Vendor assessments
Timeline
- 2026-10-21 Threatist record created from CVE-2026-113800
- 2026-10-21 Alias added: GHSA-fw47-9c62-h3vw
- 2026-10-21 Fix available: npm/[email protected], npm/[email protected], npm/[email protected] +1 · GHSA-fw47-9c62-h3vw
- 2026-10-21 CVSS score added · GHSA-fw47-9c62-h3vw
- 2026-10-21 Weakness changed · GHSA-fw47-9c62-h3vw
- 2026-10-21 16 new references · GHSA-fw47-9c62-h3vw
- 2026-10-23 Priority changed: MEDIUM → LOW
- 2026-10-23 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Other 16
- https://github.com/electron/electron/security/advisories/GHSA-fw47-9c62-h3vw
- https://github.com/electron/electron/pull/53656
- https://github.com/electron/electron/pull/53679
- https://github.com/electron/electron/pull/53688
- https://github.com/electron/electron/pull/53689
- https://github.com/electron/electron/pull/53736
- https://github.com/electron/electron/commit/22de0a3a06cfd3174fc6c59c3810ab5e1c91bf1a
- https://github.com/electron/electron/commit/36042b2e1b1c60c67b05ba0e95d1a34f608b9742
- https://github.com/electron/electron/commit/56cc43eb677d46b86b0d3f49b5fba71404ab1ff0
- https://github.com/electron/electron/commit/922073f8601479e93071f56f0745041291b206fd
- https://github.com/electron/electron/commit/c965cee73284c4b230a81d51a7db6115e55da8c0
- 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
- https://github.com/electron/electron
More electron vulnerabilities
- TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
- TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
- TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
- TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
- TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
- TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-113800 · CVE Program
- CVE-2026-113800 · NVD
- FIRST EPSS
- GHSA-fw47-9c62-h3vw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-113800 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences