CVE-2026-113798 Electron: Pointer lock permission requests can be attributed to the wrong frame
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-113798?
CVE-2026-113798 is a medium-severity vulnerability in electron, published on 21 Oct 2026.
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.
Weakness: CWE-346
Which versions are affected by CVE-2026-113798?
8 open source packages ship an affected version, including electron.
| Package | Affected | Fixed in |
|---|---|---|
electron npm | All versions | 42.11.9 |
electron npm | All versions | 42.11.9 |
electron npm | From 43.0.0-alpha.1 | 43.7.6 |
electron npm | From 43.0.0-alpha.1 | 43.7.6 |
electron npm | From 44.0.0-alpha.1 | 44.5.0 |
electron npm | From 44.0.0-alpha.1 | 44.5.0 |
2 more packages
electron npm | From 45.0.0-alpha.1 | 45.0.0-alpha.13 |
electron npm | From 45.0.0-alpha.1 | 45.0.0-alpha.13 |
How do I fix CVE-2026-113798?
Upgrade electron to a fixed version for your release line: 42.11.9, 43.7.6, 44.5.0 or 45.0.0-alpha.13.
Is CVE-2026-113798 being exploited?
There is no known exploitation of CVE-2026-113798 in the wild and no public exploit code.
Sources
Also known as GHSA-x562-297c-g43g.