Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13, pointerLock permission requests from some cross-origin iframes caused session.setPermissionRequestHandler() to receive the top-level frame's requestingUrl and isMainFrame values instead of those of the requesting frame. An application that embeds untrusted iframe content and grants pointer lock based on the requesting origin could therefore grant the permission under the top-level page's identity. Applications that deny pointerLock for untrusted embedded content are not affected. This issue is fixed in versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13.
Published: 2026-10-21
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Elevation of privilege through incorrect attribution of pointer lock permission requests
Action: Apply Patch
AI Analysis

Impact

Electron applications that host cross‑origin iframes could be tricked into granting pointer lock permission to an untrusted frame under the identity of the top‑level page. The framework’s session.setPermissionRequestHandler receives the top‑level frame’s URL and main frame flag instead of the requesting iframe’s values, allowing an attacker to obtain pointer lock as if they were the parent page. This results in an unauthorized privilege elevation within the application, potentially leading to denial of service or malicious user input capture. The weakness is classified as CWE‑346, "Information Exposure Through Inadequate Access Control".

Affected Systems

Electron version 42.11.9 and all later releases are safe; every Electron release prior to 42.11.9, 43.7.6, 44.5.0, and 45.0.0‑alpha.13 is vulnerable. The vulnerability affects Electron applications using session.setPermissionRequestHandler to control pointer lock permissions, regardless of the hosting platform.

Risk and Exploitability

The CVSS score of 5.4 indicates a medium severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting limited known exploitation. Nonetheless, the attack can be carried out from within an application that embeds untrusted iframes and grants pointer lock based on request origin. An attacker can host a malicious iframe and rely on the incorrect attribution to obtain pointer lock privileges that the host application would otherwise restrict.

Generated by OpenCVE AI on October 21, 2026 at 23:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electron to version 42.11.9, 43.7.6, 44.5.0 or 45.0.0‑alpha.13 or later to receive the corrected handling of pointer lock requests
  • Modify the application’s session.setPermissionRequestHandler logic to verify the requesting frame’s origin and URL before granting pointer lock, ensuring it does not default to the top‑level request info
  • Avoid embedding untrusted cross‑origin iframes or whitelisted content if you cannot apply the latest Electron update

Generated by OpenCVE AI on October 21, 2026 at 23:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

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.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13, pointerLock permission requests from some cross-origin iframes caused session.setPermissionRequestHandler() to receive the top-level frame's requestingUrl and isMainFrame values instead of those of the requesting frame. An application that embeds untrusted iframe content and grants pointer lock based on the requesting origin could therefore grant the permission under the top-level page's identity. Applications that deny pointerLock for untrusted embedded content are not affected. This issue is fixed in versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13.
Title Electron: Pointer lock permission requests can be attributed to the wrong frame
Weaknesses CWE-346
References
Metrics cvssV3_1

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


Subscriptions

Electron Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-21T16:12:35.548Z

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

Link: CVE-2026-113798

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-113798

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T00:00:14Z

Weaknesses