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.
Published: 2026-10-21
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized device access due to incorrect origin attribution
Action: Immediate Patch
AI Analysis

Impact

Electron's HID and USB permission checks incorrectly report the top‑level frame’s origin when invoked from an iframe, allowing a cross‑origin frame to gain device access that the application intended only for the main page. This flaw constitutes an information‑leak weakness (CWE‑346) that can lead to implicit privilege escalation within the host application.

Affected Systems

Desktop applications built with Electron versions older than 42.11.3, 43.7.0, 44.3.0, or 45.0.0‑alpha.5 are affected. The vulnerability arises when the application delegates HID or USB access to a cross‑origin iframe, relying on the framework’s origin‑based permission checks.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate impact. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. The likely attack vector is an application that embeds a cross‑origin iframe capable of injecting malicious JavaScript; this is inferred because the CVE description does not explicitly describe the injection method, but a malicious iframe is required to trigger the incorrect origin attribution. Once present, the attacker can receive privileged access to HID or USB devices, effectively bypassing the app’s origin‑based permission logic. Exploitation requires that the parent application delegate hardware access to the iframe without additional safeguards.

Generated by OpenCVE AI on October 21, 2026 at 20:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Electron v42.11.3, v43.7.0, v44.3.0, or v45.0.0‑alpha.5 or later.
  • Reject HID and USB permission requests that originate from non‑top‑level contexts, thereby blocking cross‑origin iframes from gaining device access.
  • Implement application‑level origin verification before granting hardware access, ensuring that the requesting frame’s origin matches the intended target by inspecting the frame hierarchy and origin headers.

Generated by OpenCVE AI on October 21, 2026 at 20:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fw47-9c62-h3vw Electron: HID and USB permission checks can be attributed to the wrong origin
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title Electron: HID and USB permission checks can be attributed to the wrong origin
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-21T16:16:45.808Z

Reserved: 2026-10-20T17:39:41.373Z

Link: CVE-2026-113800

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T17:18:25.270

Modified: 2026-10-21T17:18:25.270

Link: CVE-2026-113800

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:45:14Z

Weaknesses