CVE & CISA-KEV Catalog

CVE-2026-34777

MEDIUM
5.4
CVSS v3
NVD

Description

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 Available
electronNVD
Affected:>= 40.0.0, < 40.8.1Fixed in:40.8.1CVE-2026-34777derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

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

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-346 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2009-1185High7.282%-Fix
CVE-2025-34291High8.879%KEV-
CVE-2020-16952High8.671%--
CVE-2023-29711Critical9.870%--
CVE-2015-4495High8.870%KEVFix
CVE-2024-23898High8.867%-Fix
Embed a live status badge for CVE-2026-34777
CVE-2026-34777 severity badge

Markdown

[![CVE-2026-34777](https://tridentstack.com/cve/badge/CVE-2026-34777.svg)](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 free

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