Electron: Pointer lock permission requests can be attributed to the wrong frame
Impact
For pointerLock permission requests made from some cross-origin iframes, session.setPermissionRequestHandler() was given the top-level frame's requestingUrl and isMainFrame instead of the requesting frame's. Apps that grant pointer lock based on the requesting origin could grant it to embedded content under the top-level page's identity.
Apps are only affected if they embed untrusted content in iframes and decide pointerLock requests by origin in setPermissionRequestHandler. Apps that do not embed untrusted content, or that deny pointerLock for it, are not affected.
Workarounds
Deny the pointerLock permission for web contents that embed untrusted frames.
Fixed Versions
45.0.0-alpha.1344.5.043.7.642.11.9
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | electron | >= 45.0.0-alpha.1, < 45.0.0-alpha.13, >= 44.0.0-alpha.1, < 44.5.0, >= 43.0.0-alpha.1, < 43.7.6, < 42.11.9 | 45.0.0-alpha.13, 44.5.0, 43.7.6, 42.11.9 |
References
- https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g
- https://nvd.nist.gov/vuln/detail/CVE-2026-113798
- https://github.com/electron/electron/pull/54466
- https://github.com/electron/electron/pull/54465
- https://github.com/electron/electron/pull/54464
- https://github.com/electron/electron/pull/54463
- https://github.com/electron/electron/pull/54432
- https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899
- https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1
- https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207
- https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b
- https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979
- 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L- Weakness (CWE)
CWE-346- Platform
- npm
- Package
electron- Disclosed
- 22.10.2026
- Updated
- 22.10.2026 20:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x562-297c-g43g - CC BY 4.0
Vulnerability history: electron
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 78
- First → latest
- 10.2017 10.2026
- Without a fix
- 0
- Exploited in attacks
- 3
Severity breakdown
- Critical 3
- High 26
- Medium 36
- Low 13
Disclosures per year
- 2017: 1
- 2018: 5
- 2019: 0
- 2020: 6
- 2021: 2
- 2022: 7
- 2023: 6
- 2024: 0
- 2025: 3
- 2026: 48
-
Electron: Pointer lock permission requests can be attributed to the wrong frame this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.