medium

CVE-2026-114121

npm · electron

Summary

Electron: openExternal permission requests can be attributed to the wrong origin

Severity
medium
CVSS
5.4
EPSS
0.2% (p12)
CWE
CWE-346
Also known as
GHSA-997q-gvvc-jwmx
Published
2026-10-22
Updated
2026-10-22

Advisory details

Impact

Requests to open external protocol URLs could be attributed to a document other than the one that asked for them, so the requestingUrl passed to session.setPermissionRequestHandler was a trusted origin for a launch untrusted content had requested. An origin-based handler could therefore let untrusted content launch an OS-registered external application.

Apps are only affected if they grant openExternal based on the requesting origin and let untrusted content open or navigate windows. Apps whose permission handler denies openExternal for untrusted content are not affected.

Workarounds

Deny the openExternal permission for untrusted content, or deny the windows it opens with setWindowOpenHandler.

Fixed Versions

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.