1. Archivio CVE
  2. 2026
  3. CVE-2026-70610

CVE-2026-70610

5.4 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N 5.4 – Media

Descrizione

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.4, objects copied across the contextBridge boundary from untrusted content could carry an attacker-influenced prototype, enabling prototype-pollution-style attacks against preload code despite context isolation being enabled. Apps are only affected if their preload code accepts object arguments from untrusted content and reads properties from them without own-property checks, while apps that only accept primitive arguments or validate object arguments are not affected. This issue is fixed in 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.4.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
electronjs electron < 39.8.9 node.js
electronjs electron >= 40.0.0 < 40.9.2 node.js
electronjs electron >= 41.0.0 < 41.2.2 node.js
electronjs electron 42.0.0 alpha1 node.js
electronjs electron 42.0.0 alpha2 node.js
electronjs electron 42.0.0 alpha3 node.js
electronjs electron 42.0.0 alpha4 node.js
electronjs electron 42.0.0 alpha5 node.js
electronjs electron 42.0.0 alpha6 node.js
electronjs electron 42.0.0 beta1 node.js
electronjs electron 42.0.0 beta2 node.js
electronjs electron 42.0.0 beta3 node.js
Tutte le 59 vulnerabilità di Electronjs Electron

Tipo di vulnerabilità

CWE-1321 Prototype pollution: modifica non controllata del prototipo di un oggetto

Il prodotto riceve dall’esterno gli attributi da impostare in un oggetto, ma non impedisce che vengano modificati anche quelli del suo prototipo, alterando il comportamento di tutta l’applicazione (tipico di JavaScript).

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Leggere i dati dell’applicazione, Modificare i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
Architettura e progettazione By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Sviluppo · Validazione dell’input When handling untrusted objects, validating using a schema can be used.
Sviluppo By using an object without prototypes (via Object.create(null) ), adding object prototype attributes by accessing the prototype via the special attributes becomes impossible, mitigating this weakness.
Sviluppo Map can be used instead of objects in most cases. If Map methods are used instead of object attributes, it is not possible to access the object prototype or modify it.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 592 CVE di tipo CWE-1321, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org