CVE-2026-113798: 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.
Published Oct 22, 2026
Affected packages
electron
- Ecosystem
- npm
- Affected
- >= 45.0.0-alpha.1, < 45.0.0-alpha.13
- Fixed in
- 45.0.0-alpha.13
- Check
npm ls electron
electron
- Ecosystem
- npm
- Affected
- >= 44.0.0-alpha.1, < 44.5.0
- Fixed in
- 44.5.0
- Check
npm ls electron
electron
- Ecosystem
- npm
- Affected
- >= 43.0.0-alpha.1, < 43.7.6
- Fixed in
- 43.7.6
- Check
npm ls electron
electron
- Ecosystem
- npm
- Affected
- < 42.11.9
- Fixed in
- 42.11.9
- Check
npm ls electron
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 [[email protected]](mailto:[email protected])
Credited to manus-pi, manus-use.
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/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/advisories/GHSA-x562-297c-g43g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-115570
Electron: Mitigation for compromised eMudhra intermediate certificates
high7.4Oct 23, 2026CVE-2026-113796
Electron: SameSite cookie restrictions are not applied to windows opened from links
medium4.2Oct 22, 2026CVE-2026-113797
Electron: Extension tabs.query returns tab URLs and titles without the tabs permission
low3.1Oct 22, 2026CVE-2026-114121
Electron: openExternal permission requests can be attributed to the wrong origin
medium5.4Oct 22, 2026CVE-2026-114122
Electron: Frame subscription trusts GPU-supplied frame geometry
low3.9Oct 22, 2026CVE-2026-114124
Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry
low3.9Oct 22, 2026
