{"schemaVersion":3,"id":"CVE-2026-34780","aliases":["GHSA-jfqg-hf23-qpw2"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-04-04T00:02:02.224Z","modified":"2026-07-15T01:03:46.178Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","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","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00446,"percentile":0.37723,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.11900000000000005,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00327},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00446,"percentile":0.37723}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00446,"percentile":0.37723}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default","description":"The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-501","name":"Trust Boundary Violation","description":"The product mixes trusted and untrusted data in the same data structure or structured message.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/501.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 39.0.0-alpha.1, < 39.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.7.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.0.0-beta.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 39.0.0-alpha.1, < 39.8.0 | ≥ 40.0.0-alpha.1, < 40.7.0 | ≥ 41.0.0-alpha.1, < 41.0.0-beta.8","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 39.0.0, < 39.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0, < 40.7.0","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha4","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha5","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha6","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 39.0.0, < 39.8.0 | ≥ 40.0.0, < 40.7.0 | 41.0.0:alpha1 | 41.0.0:alpha2 | 41.0.0:alpha3 | 41.0.0:alpha4 | 41.0.0:alpha5 | 41.0.0:alpha6 | 41.0.0:beta1 | 41.0.0:beta2 | 41.0.0:beta3 | 41.0.0:beta4 | 41.0.0:beta5 | 41.0.0:beta6 | 41.0.0:beta7","eol":{"isEol":true,"eolDate":"2026-08-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"41","label":"41","eolFrom":"2026-08-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"41.10.7"},"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"≥ 39.0.0-alpha.1, < 39.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.7.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.0.0-beta.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 39.0.0-alpha.1, < 39.8.0 | ≥ 40.0.0-alpha.1, < 40.7.0 | ≥ 41.0.0-alpha.1, < 41.0.0-beta.8","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-jfqg-hf23-qpw2","label":"github.com/electron/electron/security/advisories/GHSA-jfqg-hf23-qpw2","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34780","label":"access.redhat.com/security/cve/CVE-2026-34780","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455020","label":"bugzilla.redhat.com/show_bug.cgi?id=2455020","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34780.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34780.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34780","label":"nvd.nist.gov/vuln/detail/CVE-2026-34780","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-04T00:02:02.224Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:03:46.178Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T23:51:10.291Z","stale":false,"partial":false}}