Electron pointer lock requests can be attributed to the wrong frame
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-346.
Summary
Electron versions before 42.11.9, from 43.0.0-alpha.1 before 43.7.6, from 44.0.0-alpha.1 before 44.5.0, and from 45.0.0-alpha.1 before 45.0.0-alpha.13 are affected. An origin validation error (CWE-346) causes some cross-origin iframe pointerLock requests to report the top-level page's requestingUrl and isMainFrame values in session.setPermissionRequestHandler(). An application that embeds untrusted iframe content and grants pointer lock based on the requesting origin could grant the permission under the top-level page's identity. Applications that deny pointerLock for untrusted embedded content are not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electron | electron | before 42.11.9; 43.0.0-alpha.1 to before 43.7.6; 44.0.0-alpha.1 to before 44.5.0; 45.0.0-alpha.1 to before 45.0.0-alpha.13 | 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13 | Patch available | CNA |
| — | electron (npm) | 45.0.0-alpha.1 to before 45.0.0-alpha.13 | 45.0.0-alpha.13 | Patch available | GHSA-x562-297c-g43g |
| — | electron (npm) | 44.0.0-alpha.1 to before 44.5.0 | 44.5.0 | Patch available | GHSA-x562-297c-g43g |
| — | electron (npm) | 43.0.0-alpha.1 to before 43.7.6 | 43.7.6 | Patch available | GHSA-x562-297c-g43g |
| — | electron (npm) | before 42.11.9 | 42.11.9 | Patch available | GHSA-x562-297c-g43g |
- electron Vendorelectron Affected before 42.11.9; 43.0.0-alpha.1 to before 43.7.6; 44.0.0-alpha.1 to before 44.5.0; 45.0.0-alpha.1 to before 45.0.0-alpha.13 Fixed in 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13 Patch available CNA
- electron (npm) Vendor— Affected 45.0.0-alpha.1 to before 45.0.0-alpha.13 Fixed in 45.0.0-alpha.13 Patch available GHSA-x562-297c-g43g
- electron (npm) Vendor— Affected 44.0.0-alpha.1 to before 44.5.0 Fixed in 44.5.0 Patch available GHSA-x562-297c-g43g
- electron (npm) Vendor— Affected 43.0.0-alpha.1 to before 43.7.6 Fixed in 43.7.6 Patch available GHSA-x562-297c-g43g
- electron (npm) Vendor— Affected before 42.11.9 Fixed in 42.11.9 Patch available GHSA-x562-297c-g43g
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* | — | — | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* Versions — — ·Electronjs
Remediation
Upgrade Electron to 42.11.9, 43.7.6, 44.5.0, or 45.0.0-alpha.13, the fixed version in each release line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA electron (electron) Fixed in 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13
- Fix · GHSA-x562-297c-g43g electron (npm) Fixed in 45.0.0-alpha.13 Advisory →
- Fix · GHSA-x562-297c-g43g electron (npm) Fixed in 44.5.0 Advisory →
- Fix · GHSA-x562-297c-g43g electron (npm) Fixed in 43.7.6 Advisory →
- Fix · GHSA-x562-297c-g43g electron (npm) Fixed in 42.11.9 Advisory →
Vendor assessments
Timeline
- 2026-10-21 Threatist record created from CVE-2026-113798
- 2026-10-22 Alias added: GHSA-x562-297c-g43g
- 2026-10-22 Fix available: npm/[email protected], npm/[email protected], npm/[email protected] +1 · GHSA-x562-297c-g43g
- 2026-10-22 CVSS score added · GHSA-x562-297c-g43g
- 2026-10-22 Weakness changed · GHSA-x562-297c-g43g
- 2026-10-22 17 new references · GHSA-x562-297c-g43g
- 2026-10-23 Priority changed: MEDIUM → LOW
- 2026-10-28 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Other 16
- https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g
- https://github.com/electron/electron/pull/54432
- https://github.com/electron/electron/pull/54463
- https://github.com/electron/electron/pull/54464
- https://github.com/electron/electron/pull/54465
- https://github.com/electron/electron/pull/54466
- https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979
- https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b
- https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207
- https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1
- https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899
- https://github.com/electron/electron/releases/tag/v42.11.9
- https://github.com/electron/electron/releases/tag/v43.7.6
- https://github.com/electron/electron/releases/tag/v44.5.0
- https://github.com/electron/electron/releases/tag/v45.0.0-alpha.13
- https://github.com/electron/electron
More electron vulnerabilities
- TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
- TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
- TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
- TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
- TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
- TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-113798 · CVE Program
- CVE-2026-113798 · NVD
- FIRST EPSS
- GHSA-x562-297c-g43g · GitHub Advisory Database · CC BY 4.0
- CVE-2026-113798 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences