CVE-2026-113798
Electron: Pointer lock permission requests can be attributed to the wrong frame
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » electronvia npm 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 | 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-113798 | nvd.nist.gov |
| Package | electron/electron | github.com |
| Web | electron/electron advisory GHSA-x562-297c-g43g | github.com |
| Web | electron/electron pull request #54466 | github.com |
| Web | electron/electron pull request #54465 | github.com |
| Web | electron/electron pull request #54464 | github.com |
| Web | electron/electron pull request #54463 | github.com |
| Web | electron/electron pull request #54432 | github.com |
| Web | electron/electron commit a48e6ea | github.com |
| Web | electron/electron commit 4073e9f | github.com |
| Web | electron/electron commit 1755ee5 | github.com |
| Web | electron/electron commit 0b680cf | github.com |
| Web | electron/electron commit 076c749 | github.com |
| Web | electron/electron release v42.11.9 | github.com |
| Web | electron/electron release v43.7.6 | github.com |
| Web | electron/electron release v44.5.0 | github.com |
| Web | electron/electron release v45.0.0-alpha.13 | github.com |
