CVE-2026-113798
published medium CVSS 3.1 · 5.4Electron: Pointer lock permission requests can be attributed to the wrong frame
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron< 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 42.11.9 (affected)>= 43.0.0-alpha.1, < 43.7.6 (affected)>= 44.0.0-alpha.1, < 44.5.0 (affected)>= 45.0.0-alpha.1, < 45.0.0-alpha.13 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-346 CWE-346: Origin Validation Error
References
15- https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979
- https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b
- https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207
- https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1
- https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899
- https://github.com/electron/electron/pull/54432
- https://github.com/electron/electron/pull/54463
- https://github.com/electron/electron/pull/54464
- https://github.com/electron/electron/pull/54465
- https://github.com/electron/electron/pull/54466
- 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/security/advisories/GHSA-x562-297c-g43g
Provider assertions
2GitHub_M · cna
Electron: Pointer lock permission requests can be attributed to the wrong frame
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- be83329d433ad0c40379e36c3fe58e11ca9ffbef7f18cba0da455713e4d233f7
- Ingested
- 28 Oct 2026, 01:29:56 UTC
- Source record
- Official CVE record