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.
Deny the pointerLock permission for web contents that embed untrusted frames.
45.0.0-alpha.1344.5.043.7.642.11.9If you have any questions or comments about this advisory, email us at security@electronjs.org
{
"cwe_ids": [
"CWE-346"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-22T16:47:15Z",
"nvd_published_at": "2026-10-21T17:18:24Z",
"severity": "MODERATE"
}