electron
Affected
- introduced
45.0.0-alpha.1, fixed45.0.0-alpha.13(semver)
Fixed versions
45.0.0-alpha.13
Fix
- Fixed version
45.0.0-alpha.13npm install [email protected]
Advisory
Also known as: 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.
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.9For more information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])
Medium Basis: The source's own band: MODERATE
45.0.0-alpha.1, fixed 45.0.0-alpha.13 (semver)45.0.0-alpha.13
45.0.0-alpha.13npm install [email protected]44.0.0-alpha.1, fixed 44.5.0 (semver)44.5.0
44.5.0npm install [email protected]43.0.0-alpha.1, fixed 43.7.6 (semver)43.7.6
43.7.6npm install [email protected]0, fixed 42.11.9 (semver)42.11.9
42.11.9npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0