All vulnerabilities
CVE-2026-113798GHSA-x562-297c-g43g

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

electron electronnpmRuntimes & languages
CVSS
5.4Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.21%Chance of exploitation activity in the next 30 days, higher than 10% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in45.0.0-alpha.13Also 44.5.0, 43.7.6 and 1 moreGitHub
Published21 Oct 2026Updated 22 Oct 2026CVE List

What fixes it

  • 45.0.0-alpha.13electron, npmGitHubnpm install electron@45.0.0-alpha.13
  • 44.5.0electron, npmGitHubnpm install electron@44.5.0
  • 43.7.6electron, npmGitHubnpm install electron@43.7.6
  • 42.11.9electron, npmGitHubnpm install electron@42.11.9

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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](mailto:security@electronjs.org)

Text from GitHub Advisory Database

Affected versions 12

  • electron, npm>= 45.0.0-alpha.1, < 45.0.0-alpha.13GitHub
  • electron, npm>= 44.0.0-alpha.1, < 44.5.0GitHub
  • electron, npm>= 43.0.0-alpha.1, < 43.7.6GitHub
  • electron, npm< 42.11.9GitHub
  • electronaffected: < 42.11.9CVE List
  • electronaffected: >= 43.0.0-alpha.1, < 43.7.6CVE List
  • electronaffected: >= 44.0.0-alpha.1, < 44.5.0CVE List
  • electronaffected: >= 45.0.0-alpha.1, < 45.0.0-alpha.13CVE List
  • electron, npmfrom 45.0.0-alpha.1, fixed in 45.0.0-alpha.13OSV
  • electron, npmfrom 44.0.0-alpha.1, fixed in 44.5.0OSV
  • electron, npmfrom 43.0.0-alpha.1, fixed in 43.7.6OSV
  • electron, npmfrom first release, fixed in 42.11.9OSV

References 17