{"id":"CVE-2026-113798","aliases":["GHSA-x562-297c-g43g"],"url":"https://o3.security/vulnerability/CVE-2026-113798","summary":"Electron: Pointer lock permission requests can be attributed to the wrong frame","details":"### Impact\nFor `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.\n\nApps 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.\n\n### Workarounds\nDeny the `pointerLock` permission for web contents that embed untrusted frames.\n\n### Fixed Versions\n* `45.0.0-alpha.13`\n* `44.5.0`\n* `43.7.6`\n* `42.11.9`\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)","published":"2026-10-21T16:12:35.548Z","modified":"2026-10-22T07:30:12.349172211Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"45.0.0-alpha.13"},{"ecosystem":"npm","name":"electron","fixedVersion":"44.5.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"43.7.6"},{"ecosystem":"npm","name":"electron","fixedVersion":"42.11.9"}],"fix":{"url":"https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","label":"electron/electron@076c749"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113798.json"},{"type":"FIX","url":"https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979"},{"type":"FIX","url":"https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b"},{"type":"FIX","url":"https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207"},{"type":"FIX","url":"https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1"},{"type":"FIX","url":"https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899"},{"type":"FIX","url":"https://github.com/electron/electron/pull/54432"},{"type":"FIX","url":"https://github.com/electron/electron/pull/54463"},{"type":"FIX","url":"https://github.com/electron/electron/pull/54464"},{"type":"FIX","url":"https://github.com/electron/electron/pull/54465"},{"type":"FIX","url":"https://github.com/electron/electron/pull/54466"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v42.11.9"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v43.7.6"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v44.5.0"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v45.0.0-alpha.13"},{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113798"},{"type":"PACKAGE","url":"https://github.com/electron/electron"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-22T07:30:12.349172211Z"}}