Electron: Pointer lock permission requests can be attributed to the wrong frame
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.
CVE-2026-113798
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-113798
electron
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "electron",
"product": "electron",
"versions": [
{
"status": "affected",
"version": "< 42.11.9"
},
{
"status": "affected",
"version": ">= 43.0.0-alpha.1, < 43.7.6"
},
{
"status": "affected",
"version": ">= 44.0.0-alpha.1, < 44.5.0"
},
{
"status": "affected",
"version": ">= 45.0.0-alpha.1, < 45.0.0-alpha.13"
}
]
}
]- Related CVEs
- CVE-2026-113798
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #49273 · Revision 1
- Added to Heist Feed
- Publisher date