{"id":"CVE-2026-34780","aliases":["GHSA-jfqg-hf23-qpw2"],"url":"https://o3.security/vulnerability/CVE-2026-34780","summary":"Electron: Context Isolation bypass via contextBridge VideoFrame transfer","details":"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":"2026-04-04T00:02:02.224Z","modified":"2026-08-07T21:14:28.203110Z","cvss":{"score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"39.8.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"40.7.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"41.0.0-beta.8"}],"fix":null,"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34780.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-34780"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34780.json"},{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-jfqg-hf23-qpw2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34780"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455020"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T21:14:28.203110Z"}}