5.4

CVE-2026-34777

Electron: Incorrect origin passed to permission request handler for iframe requests

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
ElectronjsElectron SwPlatformnode.js Version < 38.8.6
ElectronjsElectron SwPlatformnode.js Version >= 39.0.0 < 39.8.1
ElectronjsElectron SwPlatformnode.js Version >= 40.0.0 < 40.8.1
ElectronjsElectron Version41.0.0 Updatealpha1 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatealpha2 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatealpha3 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatealpha4 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatealpha5 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatealpha6 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta1 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta2 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta3 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta4 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta5 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta6 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta7 SwPlatformnode.js
ElectronjsElectron Version41.0.0 Updatebeta8 SwPlatformnode.js
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.023
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 5.4 2.8 2.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE-346 Origin Validation Error

The product does not properly verify that the source of data or communication is valid.

https://github.com/electron/electron/security/advisories/GHSA-r5p7-gp4j-qhrx
Vendor Advisory