MODERATE 5.4

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.13
  • 44.5.0
  • 43.7.6
  • 42.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)

ArtifactAffected versionsFixed 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

1affected artifacts
4affected versions
0dependent artifacts (est.)
0dependent versions

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