Vulnerability · Published Oct 21, 2026 · Assigned by GitHub_M

CVE-2026-113798Electron: Pointer lock permission requests can be attributed to the wrong frame

Medium 5.4

In plain English

A medium-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 84.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron45.0.0-alpha.13GHSA-x562-297c-g43g
npmelectron44.5.0GHSA-x562-297c-g43g
npmelectron43.7.6GHSA-x562-297c-g43g
npmelectron42.11.9GHSA-x562-297c-g43g

Affected products (as reported)

VendorProductVersions
electron electron < 42.11.9>= 43.0.0-alpha.1, < 43.7.6>= 44.0.0-alpha.1, < 44.5.0>= 45.0.0-alpha.1, < 45.0.0-alpha.13

Weakness: CWE-346 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

References