Vulnerability GHSA-fw47-9c62-h3vw

Medium Risk
MEDIUM RISK
CVSS Score: 5.4
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
1 hour ago
October 21, 2026 at 05:21 PM UTC
Electron: HID and USB permission checks can be attributed to the wrong origin
0.1.0 - 42.11.2 and 43.0.0-alpha.1 - 43.6.0 and 44.0.0-alpha.1 - 44.2.0 and 45.0.0-alpha.1 - 45.0.0-alpha.4
0.1.0 - 42.11.2 and 43.0.0-alpha.1 - 43.6.0 and 44.0.0-alpha.1 - 44.2.0 and 45.0.0-alpha.1 - 45.0.0-alpha.4

Summary

Electron: HID and USB permission checks can be attributed to the wrong origin

Details

Impact

For hid and usb permission checks made from an iframe, session.setPermissionCheckHandler was given the top-level frame's origin and details instead of the requesting frame's. Apps that allow these permissions based on origin could grant an embedded frame access intended for the top-level page.

You're only affected if you use setPermissionCheckHandler with origin-based logic for hid or usb and embed cross-origin iframes with allow="hid" or allow="usb". Apps that don't delegate those features to untrusted iframes are not affected.

Workarounds

Don't add allow="hid" / allow="usb" to untrusted iframes, or make the decision in your select-hid-device / select-usb-device handler using details.frame.

Fixed Versions

  • 45.0.0-alpha.5
  • 44.3.0
  • 43.7.0
  • 42.11.3

For more information

If you have any questions or comments about this advisory, email us at [email protected]

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Medium Risk
22 days ago
Electron: Local race condition in Squirrel.Mac update installation on macOS
0.1.0 - 39.8.9 and 40.0.0-alpha.2 - 41.10.4 and 42.0.0-alpha.1 - 42.0.0-beta.1 GHSA-vv43-5jgx-7qv8
0.1.0 - 39.8.9 and 40.0.0-alpha.2 - 41.10.4 and 42.0.0-alpha.1 - 42.0.0-beta.1 GHSA-vv43-5jgx-7qv8
High Risk
22 days ago
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
0.1.0 - 41.10.3 and 42.0.0-alpha.1 - 42.5.1 and 43.0.0-alpha.1 - 43.0.0-beta.8 GHSA-hq2x-r82h-9wj4
0.1.0 - 41.10.3 and 42.0.0-alpha.1 - 42.5.1 and 43.0.0-alpha.1 - 43.0.0-beta.8 GHSA-hq2x-r82h-9wj4
High Risk
22 days ago
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
0.1.0 - 41.10.5 and 42.0.0-alpha.1 - 42.9.1 and 43.0.0-alpha.1 - 43.4.0 and 44.0.0-alpha.1 - 44.0.0-beta.4 GHSA-gr2m-v5gq-v685
0.1.0 - 41.10.5 and 42.0.0-alpha.1 - 42.9.1 and 43.0.0-alpha.1 - 43.4.0 and 44.0.0-alpha.1 - 44.0.0-beta.4 GHSA-gr2m-v5gq-v685
High Risk
22 days ago
Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled
0.1.0 - 41.10.5 and 42.0.0-alpha.1 - 42.9.1 and 43.0.0-alpha.1 - 43.4.0 and 44.0.0-alpha.1 - 44.0.0-beta.4 GHSA-j84w-jfhq-vhvj
0.1.0 - 41.10.5 and 42.0.0-alpha.1 - 42.9.1 and 43.0.0-alpha.1 - 43.4.0 and 44.0.0-alpha.1 - 44.0.0-beta.4 GHSA-j84w-jfhq-vhvj
High Risk
22 days ago
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
0.1.0 - 41.10.5 and 42.0.0-alpha.1 - 42.9.1 and 43.0.0-alpha.1 - 43.4.0 and 44.0.0-alpha.1 - 44.0.0-beta.4 GHSA-9qh4-3jw8-366w
0.1.0 - 41.10.5 and 42.0.0-alpha.1 - 42.9.1 and 43.0.0-alpha.1 - 43.4.0 and 44.0.0-alpha.1 - 44.0.0-beta.4 GHSA-9qh4-3jw8-366w
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
1 hour ago
October 21, 2026 at 05:21 PM UTC
Fixed (44.3.0)
1 month ago
September 08, 2026 at 07:24 PM UTC
Fixed (45.0.0-alpha.5)
Unknown
Unknown
Fixed (43.7.0)
Unknown
Unknown
Fixed (42.11.3)
Unknown
Unknown
Last Modified
1 hour ago
October 21, 2026 at 05:35 PM UTC