Electron: Context isolation bypass via Function.prototype.bind hijack (electron electron)
En bref
- Source
- NVD
- EPSS
- EPSS 0.29 % · centile 21 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Rechercher sur…
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5, apps that expose Promise-returning functions to web content via contextBridge may be vulnerable to a context isolation bypass. Untrusted web content could obtain access to the isolated preload world and, through it, every capability the preload script has. In renderers without a sandbox, or with nodeIntegration enabled, this may escalate to Node.js access. Apps are affected if they expose Promise-returning functions via contextBridge, the standard pattern for wrapping ipcRenderer.invoke, in windows that load untrusted content. This issue is fixed in versions 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5.
Faiblesses (CWE)
- CWE-693 — Défaillance du mécanisme de protection
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N | GitHub_M |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-h7rp-cf8h-j98x — Electron: Context isolation bypass via Function.prototype.bind hijack
Références européennes
- ENISA EUVD · EUVD-2026-53433
- GCVE · GCVE-0-2026-70601
Configurations affectées (CPE NVD)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*< 39.8.9cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≥ 40.0.0 < 40.9.2cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≥ 41.0.0 < 41.2.2cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:beta3:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:42.0.0:beta4:*:*:*:node.js:*:*
Produits affectés
| Produit | Versions |
|---|---|
| electron · electron | affected < 39.8.9 ; affected >= 40.0.0-alpha.1, < 40.9.2 ; affected >= 41.0.0-alpha.1, < 41.2.2 ; affected >= 42.0.0-alpha.1, < 42.0.0-beta.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |