Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-113798

CVE-2026-113798: Electron: Pointer lock permission requests can be attributed to the wrong frame

October 22, 2026

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.

References

  • github.com/advisories/GHSA-x562-297c-g43g
  • github.com/electron/electron/commit/076c7496791a45968cf8d9e76e9657bc161ea979
  • github.com/electron/electron/commit/0b680cfa1ffa70a50282da53efde37a210d5223b
  • github.com/electron/electron/commit/1755ee598697356959219beefee1e139bc3f8207
  • github.com/electron/electron/commit/4073e9f4712f61e6b8abd5548673cc7638f6c1a1
  • github.com/electron/electron/commit/a48e6eaaafa85b6fc40f7431ceec4fd6ef4bb899
  • github.com/electron/electron/pull/54432
  • github.com/electron/electron/pull/54463
  • github.com/electron/electron/pull/54464
  • github.com/electron/electron/pull/54465
  • github.com/electron/electron/pull/54466
  • github.com/electron/electron/releases/tag/v42.11.9
  • github.com/electron/electron/releases/tag/v43.7.6
  • github.com/electron/electron/releases/tag/v44.5.0
  • github.com/electron/electron/releases/tag/v45.0.0-alpha.13
  • github.com/electron/electron/security/advisories/GHSA-x562-297c-g43g
  • nvd.nist.gov/vuln/detail/CVE-2026-113798

Code Behaviors & Features

Detect and mitigate CVE-2026-113798 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 42.11.9, all versions starting from 43.0.0-alpha.1 before 43.7.6, all versions starting from 44.0.0-alpha.1 before 44.5.0, all versions starting from 45.0.0-alpha.1 before 45.0.0-alpha.13

Fixed versions

  • 42.11.9
  • 43.7.6
  • 44.5.0
  • 45.0.0-alpha.13

Solution

Upgrade to versions 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

npm/electron/CVE-2026-113798.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.