Skip to content

CVE-2026-113800 Electron: HID and USB permission checks can be attributed to the wrong origin

MediumCVSS 5.4 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm electron(npm) < 42.11.3; >= 43.0.0-alpha.1, < 43.7.0; >= 44.0.0-alpha.1, < 44.3.0; >= 45.0.0-alpha.1, < 45.0.0-alpha.5 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5 Fixed
electron = < 42.11.3; = >= 43.0.0-alpha.1, < 43.7.0; = >= 44.0.0-alpha.1, < 44.3.0; = >= 45.0.0-alpha.1, < 45.0.0-alpha.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
electron = < 42.11.3 No fix listed
electron = >= 43.0.0-alpha.1, < 43.7.0 No fix listed
electron = >= 44.0.0-alpha.1, < 44.3.0 No fix listed
electron = >= 45.0.0-alpha.1, < 45.0.0-alpha.5 No fix listed
npm electron(npm) >= 45.0.0-alpha.1, < 45.0.0-alpha.5 45.0.0-alpha.5
npm electron(npm) >= 44.0.0-alpha.1, < 44.3.0 44.3.0
npm electron(npm) >= 43.0.0-alpha.1, < 43.7.0 43.7.0
npm electron(npm) < 42.11.3 42.11.3

References