Loading advisory.
Loading advisory.
Electron: Context Isolation bypass via contextBridge VideoFrame transfer
Apps that pass VideoFrame objects (from the WebCodecs API) across the contextBridge are vulnerable to a context isolation bypass.
Published 2026-04-03 02:46 UTC · Modified 2026-07-15 01:03 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| electron | npm | >= 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 | 39.8.0, 40.7.0, 41.0.0-beta.8 | npm install electron@39.8.0npm install electron@40.7.0npm install electron@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.
Do not pass VideoFrame objects across contextBridge. If an app needs to transfer video frame data, serialize it to an ArrayBuffer or ImageBitmap before bridging.
41.0.0-beta.8
40.7.0
39.8.0
If there are any questions or comments about this advisory, please email security@electronjs.org
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.005 on 2026-11-30, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.003 | v2026.06.15 |
| 2026-11-30 | 0.005 | 0.005 | v2026.06.15 |