{"id":"CVE-2026-113798","title":"Electron: Pointer lock permission requests can be attributed to the wrong frame","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…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","cvssSource":"cna","cwe":["CWE-346"],"vendor":"electron","product":"electron","affected":["electron < 42.11.9","electron >= 43.0.0-alpha.1, < 43.7.6","electron >= 44.0.0-alpha.1, < 44.5.0","electron >= 45.0.0-alpha.1, < 45.0.0-alpha.13"],"published":"2026-10-21","updated":"2026-10-21","sourceUpdated":"2026-10-21T16:12:35.548Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113798","references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g","label":"https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g"},{"url":"https://github.com/electron/electron/pull/54432","label":"https://github.com/electron/electron/pull/54432"},{"url":"https://github.com/electron/electron/pull/54463","label":"https://github.com/electron/electron/pull/54463"},{"url":"https://github.com/electron/electron/pull/54464","label":"https://github.com/electron/electron/pull/54464"},{"url":"https://github.com/electron/electron/pull/54465","label":"https://github.com/electron/electron/pull/54465"},{"url":"https://github.com/electron/electron/pull/54466","label":"https://github.com/electron/electron/pull/54466"},{"url":"https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","label":"https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979"},{"url":"https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b","label":"https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b"},{"url":"https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207","label":"https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207"},{"url":"https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1","label":"https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1"},{"url":"https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899","label":"https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899"},{"url":"https://github.com/electron/electron/releases/tag/v42.11.9","label":"https://github.com/electron/electron/releases/tag/v42.11.9"},{"url":"https://github.com/electron/electron/releases/tag/v43.7.6","label":"https://github.com/electron/electron/releases/tag/v43.7.6"},{"url":"https://github.com/electron/electron/releases/tag/v44.5.0","label":"https://github.com/electron/electron/releases/tag/v44.5.0"},{"url":"https://github.com/electron/electron/releases/tag/v45.0.0-alpha.13","label":"https://github.com/electron/electron/releases/tag/v45.0.0-alpha.13"}],"tags":["cve.org"],"ingestedAt":"2026-10-21T17:07:51.307Z","slug":"CVE-2026-113798","body":"## Overview\n\nElectron 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.\n\n## Affected\n\n- `electron < 42.11.9`\n- `electron >= 43.0.0-alpha.1, < 43.7.6`\n- `electron >= 44.0.0-alpha.1, < 44.5.0`\n- `electron >= 45.0.0-alpha.1, < 45.0.0-alpha.13`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}