Security mailing lists by PureSourceCode

CVE-2026-34780

MEDIUM 6.1CVSS 3.1

Electron: Context Isolation bypass via contextBridge VideoFrame transfer

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions 39.0.0-alpha.1 to before 39.8.0, 40.0.0-alpha.1 to before 40.7.0, and 41.0.0-alpha.1 to before 41.0.0-beta.8, apps that pass VideoFrame objects (from the WebCodecs API) across the contextBridge are vulnerable to a context isolation bypass. An attacker who can execute JavaScript in the main world (for example, via XSS) can use a bridged VideoFrame to gain access to the isolated world, including any Node.js APIs exposed to the preload script. Apps are only affected if a preload script returns, resolves, or passes a VideoFrame object to the main world via contextBridge.exposeInMainWorld(). Apps that do not bridge VideoFrame objects are not affected. This issue has been patched in versions 39.8.0, 40.7.0, and 41.0.0-beta.8.

Published
4 Apr 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1188CWE-501CWE-668
Also known as
GHSA-jfqg-hf23-qpw2
Sources
NVDJSONOSV GHSA-jfqg-hf23-qpw2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
>= 39.0.0, < 39.8.0 39.8.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
>= 40.0.0, < 40.7.0 40.7.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*
= 41.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*
= 41.0.0
OSV npm electron >= 39.0.0-alpha.1, < 39.8.0 39.8.0
OSV npm electron >= 40.0.0-alpha.1, < 40.7.0 40.7.0
OSV npm electron >= 41.0.0-alpha.1, < 41.0.0-beta.8 41.0.0-beta.8

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.