{"schema":"threatline.record/2","record":{"id":"CVE-2026-113800","aliases":["GHSA-fw47-9c62-h3vw"],"summary":"Electron: HID and USB permission checks can be attributed to the wrong origin","details":"### Impact\nFor `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.\n\nYou'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.\n\n### Workarounds\nDon'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`.\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)","categories":["Runtimes & languages"],"product":"electron","vendor":"electron","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"range":">= 45.0.0-alpha.1, < 45.0.0-alpha.5"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"range":">= 44.0.0-alpha.1, < 44.3.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"range":">= 43.0.0-alpha.1, < 43.7.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"range":"< 42.11.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-113800","source_modified_at":"2026-10-23T15:12:01.887Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"electron","vendor":"electron","versions":[{"version":"< 42.11.3","status":"affected"},{"version":">= 43.0.0-alpha.1, < 43.7.0","status":"affected"},{"version":">= 44.0.0-alpha.1, < 44.3.0","status":"affected"},{"version":">= 45.0.0-alpha.1, < 45.0.0-alpha.5","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"45.0.0-alpha.1"},{"fixed":"45.0.0-alpha.5"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"44.0.0-alpha.1"},{"fixed":"44.3.0"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"43.0.0-alpha.1"},{"fixed":"43.7.0"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"42.11.3"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"version":"45.0.0-alpha.5"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"version":"44.3.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"version":"43.7.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:21:53Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"electron"},"version":"42.11.3"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"version":"45.0.0-alpha.5"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"version":"44.3.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"version":"43.7.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","source_modified_at":"2026-10-21T17:35:19.879130922Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"version":"42.11.3"}],"cvss":5.4,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00241,"percentile":0.14434,"score_date":"2026-10-23"},"published_at":"2026-10-21T16:16:45.808Z","modified_at":"2026-10-23T15:12:01.887Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T17:21:53Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-113800","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T15:12:01.887Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-fw47-9c62-h3vw","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T17:35:19.879130922Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-113800","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/electron/electron/security/advisories/GHSA-fw47-9c62-h3vw","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/electron/electron/pull/53656","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/pull/53679","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/pull/53688","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/pull/53689","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/pull/53736","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/commit/22de0a3a06cfd3174fc6c59c3810ab5e1c91bf1a","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/commit/36042b2e1b1c60c67b05ba0e95d1a34f608b9742","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/commit/56cc43eb677d46b86b0d3f49b5fba71404ab1ff0","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/commit/922073f8601479e93071f56f0745041291b206fd","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/commit/c965cee73284c4b230a81d51a7db6115e55da8c0","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/releases/tag/v42.11.3","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/releases/tag/v43.7.0","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/releases/tag/v44.3.0","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/electron/electron/releases/tag/v45.0.0-alpha.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-fw47-9c62-h3vw","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-23T14:47:52.711295Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T15:12:01.887Z","content_hash":"0ac8752349b91a89234e2859e01f0c01ae5c90491993240bcce5edc0bdf4a7fa"}}
