Loading advisory.
Loading advisory.
Electron: HID and USB permission checks can be attributed to the wrong origin
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.
Published 2026-10-21 16:16 UTC · Modified 2026-10-23 15:12 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| electron | npm | >= 45.0.0-alpha.1, < 45.0.0-alpha.5 >= 44.0.0-alpha.1, < 44.3.0 >= 43.0.0-alpha.1, < 43.7.0 < 42.11.3 | 45.0.0-alpha.5, 44.3.0, 43.7.0, 42.11.3 | npm install electron@45.0.0-alpha.5npm install electron@44.3.0npm install electron@43.7.0npm install electron@42.11.3 |
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.
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.
45.0.0-alpha.5
44.3.0
43.7.0
42.11.3
If you have any questions or comments about this advisory, email us at security@electronjs.org
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.002 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.002 | 0.002 | v2026.06.15 |