NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

mediumCVSS 3.1 5.4GHSA-x562-297c-g43g

Impact 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.

Published Oct 22, 2026

Affected packages

electron

Ecosystem
npm
Affected
>= 45.0.0-alpha.1, < 45.0.0-alpha.13
Fixed in
45.0.0-alpha.13
Check
npm ls electron

electron

Ecosystem
npm
Affected
>= 44.0.0-alpha.1, < 44.5.0
Fixed in
44.5.0
Check
npm ls electron

electron

Ecosystem
npm
Affected
>= 43.0.0-alpha.1, < 43.7.6
Fixed in
43.7.6
Check
npm ls electron

electron

Ecosystem
npm
Affected
< 42.11.9
Fixed in
42.11.9
Check
npm ls electron

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.13
  • 44.5.0
  • 43.7.6
  • 42.11.9

For more information

If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])

Credited to manus-pi, manus-use.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries