Electron: Pointer lock permission requests can be attributed to the wrong frame
Summary
| CVE | CVE-2026-113798 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-21 17:18:24 UTC |
| Updated | 2026-10-21 17:18:24 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Problem Types: CWE-346 | CWE-346 CWE-346: Origin Validation Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Electron | Electron | affected < 42.11.9 | Not specified |
| CNA | Electron | Electron | affected >= 43.0.0-alpha.1, < 43.7.6 | Not specified |
| CNA | Electron | Electron | affected >= 44.0.0-alpha.1, < 44.5.0 | Not specified |
| CNA | Electron | Electron | affected >= 45.0.0-alpha.1, < 45.0.0-alpha.13 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v45.0.0-alpha.13 | [email protected] | github.com | |
| github.com/electron/electron/pull/54463 | [email protected] | github.com | |
| github.com/electron/electron/pull/54432 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v43.7.6 | [email protected] | github.com | |
| github.com/electron/electron/pull/54466 | [email protected] | github.com | |
| github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5... | [email protected] | github.com | |
| github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161e... | [email protected] | github.com | |
| github.com/electron/electron/pull/54465 | [email protected] | github.com | |
| github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6... | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v44.5.0 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v42.11.9 | [email protected] | github.com | |
| github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f... | [email protected] | github.com | |
| github.com/electron/electron/pull/54464 | [email protected] | github.com | |
| github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4b... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.