GHSA-FW47-9C62-H3VW
Vulnerability from github – Published: 2026-10-21 17:21 – Updated: 2026-10-21 17:21Impact
For hid and usb permission checks made from an iframe, session.setPermissionCheckHandler was given the top-level frame's origin and details instead of the requesting frame's. Apps that allow these permissions based on origin could grant an embedded frame access intended for the top-level page.
You're only affected if you use setPermissionCheckHandler with origin-based logic for hid or usb and embed cross-origin iframes with allow="hid" or allow="usb". Apps that don't delegate those features to untrusted iframes are not affected.
Workarounds
Don't add allow="hid" / allow="usb" to untrusted iframes, or make the decision in your select-hid-device / select-usb-device handler using details.frame.
Fixed Versions
45.0.0-alpha.544.3.043.7.042.11.3
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.5"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "44.0.0-alpha.1"
},
{
"fixed": "44.3.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "43.0.0-alpha.1"
},
{
"fixed": "43.7.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "electron"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "42.11.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-113800"
],
"database_specific": {
"cwe_ids": [
"CWE-346"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-21T17:21:51Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "### Impact\nFor `hid` and `usb` permission checks made from an iframe, `session.setPermissionCheckHandler` was given the top-level frame\u0027s origin and details instead of the requesting frame\u0027s. Apps that allow these permissions based on origin could grant an embedded frame access intended for the top-level page.\n\nYou\u0027re only affected if you use `setPermissionCheckHandler` with origin-based logic for `hid` or `usb` and embed cross-origin iframes with `allow=\"hid\"` or `allow=\"usb\"`. Apps that don\u0027t delegate those features to untrusted iframes are not affected.\n\n### Workarounds\nDon\u0027t add `allow=\"hid\"` / `allow=\"usb\"` to untrusted iframes, or make the decision in your `select-hid-device` / `select-usb-device` handler using `details.frame`.\n\n### Fixed Versions\n* `45.0.0-alpha.5`\n* `44.3.0`\n* `43.7.0`\n* `42.11.3`\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-fw47-9c62-h3vw",
"modified": "2026-10-21T17:21:51Z",
"published": "2026-10-21T17:21:51Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/electron/electron/security/advisories/GHSA-fw47-9c62-h3vw"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/53656"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/53679"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/53688"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/53689"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/pull/53736"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/22de0a3a06cfd3174fc6c59c3810ab5e1c91bf1a"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/36042b2e1b1c60c67b05ba0e95d1a34f608b9742"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/56cc43eb677d46b86b0d3f49b5fba71404ab1ff0"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/922073f8601479e93071f56f0745041291b206fd"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/commit/c965cee73284c4b230a81d51a7db6115e55da8c0"
},
{
"type": "PACKAGE",
"url": "https://github.com/electron/electron"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/releases/tag/v42.11.3"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/releases/tag/v43.7.0"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/releases/tag/v44.3.0"
},
{
"type": "WEB",
"url": "https://github.com/electron/electron/releases/tag/v45.0.0-alpha.5"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Electron: HID and USB permission checks can be attributed to the wrong origin"
}
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.