{"id":"GHSA-x562-297c-g43g","revision":"3b89d40711ab4b5f840a066e668fcfec","records":[{"revision":"3b89d40711ab4b5f840a066e668fcfec","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-x562-297c-g43g","aliases":["CVE-2026-113798"],"title":"Electron: Pointer lock permission requests can be attributed to the wrong frame","description":"### 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)","state":0,"publishedAt":"2026-10-22T16:47:15+00:00","modifiedAt":"2026-10-22T17:00:04.1811789+00:00","affected":[{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"45.0.0-alpha.1"},{"kind":"fixed","version":"45.0.0-alpha.13"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"44.0.0-alpha.1"},{"kind":"fixed","version":"44.5.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"43.0.0-alpha.1"},{"kind":"fixed","version":"43.7.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"42.11.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g","https://nvd.nist.gov/vuln/detail/CVE-2026-113798","https://github.com/electron/electron/pull/54466","https://github.com/electron/electron/pull/54465","https://github.com/electron/electron/pull/54464","https://github.com/electron/electron/pull/54463","https://github.com/electron/electron/pull/54432","https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899","https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1","https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207","https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b","https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979","https://github.com/electron/electron/releases/tag/v42.11.9","https://github.com/electron/electron/releases/tag/v43.7.6","https://github.com/electron/electron/releases/tag/v44.5.0","https://github.com/electron/electron/releases/tag/v45.0.0-alpha.13","https://github.com/electron/electron"],"sourceUrl":"https://github.com/advisories/GHSA-x562-297c-g43g","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x562-297c-g43g","identifiers":["GHSA-x562-297c-g43g","CVE-2026-113798"]},"retained":false,"historicalAffected":[]}],"coverage":[]}