{"id":"CVE-2026-113798","published":"2026-10-21T16:12:35Z","modified":"2026-10-28T01:22:13Z","title":"Electron: Pointer lock permission requests can be attributed to the wrong frame","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.10608,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/electron/electron/pull/54432","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/54463","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/54464","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/54465","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/pull/54466","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v42.11.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v43.7.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v44.5.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v45.0.0-alpha.13","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":2.12},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 42.11.9",">= 43.0.0-alpha.1, < 43.7.6",">= 44.0.0-alpha.1, < 44.5.0",">= 45.0.0-alpha.1, < 45.0.0-alpha.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T01:22:01.029061Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":[">=45.0.0-alpha.1, <45.0.0-alpha.13",">=44.0.0-alpha.1, <44.5.0",">=43.0.0-alpha.1, <43.7.6","<42.11.9"],"patched":["45.0.0-alpha.13","44.5.0","43.7.6","42.11.9"],"from":["GHSA-x562-297c-g43g"],"provenance":"source"}],"summary":{"text":"Electron's session.setPermissionRequestHandler() mishandles pointerLock permission requests from some cross-origin iframes, passing the top-level frame's requestingUrl and isMainFrame values instead of the requesting frame's. An attacker who can get untrusted iframe content embedded in an Electron application, with that application granting pointer lock based on the requesting origin, could obtain the permission under the top-level page's identity, which requires user interaction and does not affect applications that deny pointerLock for untrusted embedded content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:05Z"},"euvd":{"id":"EUVD-2026-107374","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-electron-cve-2026-70599","parents":[{"from":"CVE-2026-70599","to":"CVE-2026-113798","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["shell/browser/web_contents_permission_helper.cc"],"commits":["https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b","https://github.com/electron/electron/commit/0cbdf2f0375466d701aa393c92e0ec29eb89ea6c"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2026-113798","to":"CVE-2026-114121","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["shell/browser/web_contents_permission_helper.cc"],"commits":["https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b","https://github.com/electron/electron/commit/25057643bf6d9a20bad69e45707551ccf546f5ce","https://github.com/electron/electron/commit/8aa5414f73792ed3b2e3f9ab6391b1832e6dc2c3"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-102675","published":"2026-09-29","fixed":"44.0.0-beta.5","kev":false},{"cve":"CVE-2026-102676","published":"2026-09-29","fixed":"44.0.0-beta.5","kev":false},{"cve":"CVE-2026-102677","published":"2026-09-29","fixed":"44.0.0-beta.6","kev":false},{"cve":"CVE-2026-113798","published":"2026-10-21","fixed":"45.0.0-alpha.13","kev":false},{"cve":"CVE-2026-113797","published":"2026-10-21","fixed":"45.0.0-alpha.4","kev":false,"link":{"from":"CVE-2026-113798","to":"CVE-2026-113797","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"45.0.0-alpha.13","toFixed":"45.0.0-alpha.4","daysApart":0}]}},{"cve":"CVE-2026-113800","published":"2026-10-21","fixed":"45.0.0-alpha.5","kev":false},{"cve":"CVE-2026-114121","published":"2026-10-21","fixed":"45.0.0-alpha.5","kev":false},{"cve":"CVE-2026-114122","published":"2026-10-21","fixed":"45.0.0-alpha.9","kev":false,"link":{"from":"CVE-2026-114122","to":"CVE-2026-113798","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.11.6","toFixed":"42.11.9","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"43.7.3","toFixed":"43.7.6","daysApart":0}]}},{"cve":"CVE-2026-115570","published":"2026-10-23","fixed":"45.0.0-beta.6","kev":false,"link":{"from":"CVE-2026-113798","to":"CVE-2026-115570","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.11.9","toFixed":"42.11.16","daysApart":2},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"43.7.6","toFixed":"43.8.1","daysApart":2},{"kind":"same-code","provenance":"machine","files":["patches/chromium/.patches"],"commits":["https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b","https://github.com/electron/electron/commit/093583c71be71c85453e6e225137bf2af755fbcc","https://github.com/electron/electron/commit/1d2f13b1985444a38abf389db38228ac42f5bcad"],"basis":"shared file"}]}}],"package":"npm:electron"}}