Skip to main content
← All vulnerabilities
CVE-2026-113798GHSA-X562-297C-G43G

Electron: Pointer lock permission requests can be attributed to the wrong frame

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • electron electron

    fixed in 42.11.9; From 43.0.0-alpha.1 · fixed in 43.7.6; From 44.0.0-alpha.1 · fixed in 44.5.0; From 45.0.0-alpha.1 · fixed in 45.0.0-alpha.13

  • electronnpm

    From 45.0.0-alpha.1 · fixed in 45.0.0-alpha.13

  • electronnpm

    From 44.0.0-alpha.1 · fixed in 44.5.0

  • electronnpm

    From 43.0.0-alpha.1 · fixed in 43.7.6

  • electronnpm

    fixed in 42.11.9

References 15

GitHub · electron/electron