Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

CVSS 3.1 5.4 MEDIUMEUVD CVSS 3.1 5.4 CVSS 3.1 · [email protected] · Secondary 5.4 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by electron 38.8.6Fixed by electron 39.8.1Fixed by electron 40.8.1Fixed by electron 41.0.0KEV status unknown

cve-program · CVE-2026-34777

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-18953

Published

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.

Read the publisher's advisory

nvd · CVE-2026-34777

Published

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.

Read the publisher's advisory

osv · GHSA-r5p7-gp4j-qhrx

Published

### Impact 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. ### Workarounds In your `setPermissionRequestHandler`, inspect `details.requestingUrl` rather than the origin parameter or `webContents.getURL()` when deciding whether to grant `fullscreen`, `pointerLock`, `keyboardLock`, `openExternal`, or `media` permissions. ### Fixed Versions * `41.0.0` * `40.8.1` * `39.8.1` * `38.8.6` ### For more information If there are any questions or comments about this advisory, please email [[email protected]](mailto:[email protected])

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-34777

Published

electron

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "electron",
                    "product": "electron",
                    "versions": [
                        {
                            "version": "< 38.8.6",
                            "status": "affected"
                        },
                        {
                            "version": ">= 39.0.0-alpha.1, < 39.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 40.0.0-alpha.1, < 40.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 41.0.0-alpha.1, < 41.0.0",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-18953

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 3, 2026, 11:57:36 PM

dateUpdated: Apr 6, 2026, 3:33:30 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-34777

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-346

Original publisher date fields

published: 2026-04-04T00:16:18.907

lastModified: 2026-07-24T22:10:00.140

15 source CPE criteria · context only
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta8:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-r5p7-gp4j-qhrx

Published

electron

npm

SEMVER · introduced 0 → fixed 38.8.6

electron

npm

SEMVER · introduced 39.0.0-alpha.1 → fixed 39.8.1

electron

npm

SEMVER · introduced 40.0.0-alpha.1 → fixed 40.8.1

electron

npm

SEMVER · introduced 41.0.0-alpha.1 → fixed 41.0.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 02:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current