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

CVE-2026-70604

7.4 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N 7.4 – Alta

Descrizione

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.3, 41.4.0, and 42.0.0, a custom scheme registered with supportFetchAPI: true but without corsEnabled: true was not subject to CORS enforcement. A page loaded from a remote origin could therefore fetch() or XMLHttpRequest that scheme cross-origin and read the full response body, rather than the read being blocked. Apps that serve sensitive data from such a scheme and load remote or untrusted content in a renderer are affected. This issue is fixed in versions 39.8.10, 40.9.3, 41.4.0, and 42.0.0.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
electronjs electron < 39.8.10 node.js
electronjs electron >= 40.0.0 < 40.9.3 node.js
electronjs electron >= 41.0.0 < 41.4.0 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
electronjs electron 42.0.0 beta4 node.js
electronjs electron 42.0.0 beta5 node.js
electronjs electron 42.0.0 beta6 node.js
electronjs electron 42.0.0 beta7 node.js
electronjs electron 42.0.0 beta8 node.js
Tutte le 59 vulnerabilità di Electronjs Electron

Tipo di vulnerabilità

CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains

The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità, Controllo degli accessi Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione, Dipende dal contesto

Come si previene

Architettura e progettazione · Esercizio · Riduzione della superficie di attacco Define a restrictive Content Security Policy or cross-domain policy file.
Architettura e progettazione · Esercizio · Riduzione della superficie di attacco Avoid using wildcards in the CSP / cross-domain policy file. Any domain matching the wildcard expression will be implicitly trusted, and can perform two-way interaction with the target server.
Architettura e progettazione · Esercizio · Hardening dell’ambiente For Flash, modify crossdomain.xml to use meta-policy options such as 'master-only' or 'none' to reduce the possibility of an attacker planting extraneous cross-domain policy files on a server.

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

Tutte le 97 CVE di tipo CWE-942, con andamento e prevenzione

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