CVE-2026-34777
MEDIUMDescription
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, when an iframe requests fullscreen, pointerLock, keyboardLock, openExternal, or media permissions, the origin passed to session.setPermissionRequestHandler() was the top-level page's origin rather than the requesting iframe's origin. Apps that grant permissions based on the origin parameter or webContents.getURL() may inadvertently grant permissions to embedded third-party content. The correct requesting URL remains available via details.requestingUrl. Apps that already check details.requestingUrl are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 2% of all known CVEs.
References
Related Vulnerabilities
Other CWE-346 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2009-1185 | High | 7.2 | 82% | - | Fix |
| CVE-2025-34291 | High | 8.8 | 79% | KEV | - |
| CVE-2020-16952 | High | 8.6 | 71% | - | - |
| CVE-2023-29711 | Critical | 9.8 | 70% | - | - |
| CVE-2015-4495 | High | 8.8 | 70% | KEV | Fix |
| CVE-2024-23898 | High | 8.8 | 67% | - | Fix |
Embed a live status badge for CVE-2026-34777
Markdown
[](https://tridentstack.com/cve/CVE-2026-34777)HTML
<a href="https://tridentstack.com/cve/CVE-2026-34777"><img src="https://tridentstack.com/cve/badge/CVE-2026-34777.svg" alt="CVE-2026-34777"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-20.