GHSA-X562-297C-G43G
Vulnerability from github – Published: 2026-10-22 16:47 – Updated: 2026-10-22 16:47Impact
For 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.
Apps 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.
Workarounds
Deny the pointerLock permission for web contents that embed untrusted frames.
Fixed Versions
45.0.0-alpha.1344.5.043.7.642.11.9
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "45.0.0-alpha.1"
},
{
"fixed": "45.0.0-alpha.13"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "44.0.0-alpha.1"
},
{
"fixed": "44.5.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "43.0.0-alpha.1"
},
{
"fixed": "43.7.6"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "42.11.9"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-113798"
],
"database_specific": {
"cwe_ids": [
"CWE-346"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-22T16:47:15Z",
"nvd_published_at": "2026-10-21T17:18:24Z",
"severity": "MODERATE"
},
"details": "### Impact\nFor `pointerLock` permission requests made from some cross-origin iframes, `session.setPermissionRequestHandler()` was given the top-level frame\u0027s `requestingUrl` and `isMainFrame` instead of the requesting frame\u0027s. Apps that grant pointer lock based on the requesting origin could grant it to embedded content under the top-level page\u0027s 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)",
"id": "GHSA-x562-297c-g43g",
"modified": "2026-10-22T16:47:16Z",
"published": "2026-10-22T16:47:15Z",
"references": [
{
"type": "WEB",
"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": "WEB",
"url": "https://github.com/electron/electron/pull/54466"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/54465"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/54464"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/54463"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/54432"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979"
},
{
"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": "PACKAGE",
"url": "https://github.com/electron/electron"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
"type": "CVSS_V3"
}
],
"summary": "Electron: Pointer lock permission requests can be attributed to the wrong frame"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.