1. Archivio CVE
  2. 2025
  3. CVE-2025-30360

CVE-2025-30360

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

Descrizione

webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior to version 5.2.1, webpack-dev-server users' source code may be stolen when you access a malicious web site with non-Chromium based browser. The `Origin` header is checked to prevent Cross-site WebSocket hijacking from happening, which was reported by CVE-2018-14732. But webpack-dev-server always allows IP address `Origin` headers. This allows websites that are served on IP addresses to connect WebSocket. An attacker can obtain source code via a method similar to that used to exploit CVE-2018-14732. Version 5.2.1 contains a patch for the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
webpack.js webpack-dev-server < 5.2.1 –
Tutte le 9 vulnerabilità di Webpack.js Webpack-dev-server

Tipo di vulnerabilità

CWE-346 Errore di validazione dell’origine

Il prodotto non verifica correttamente che la fonte dei dati o della comunicazione sia legittima.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Altro Ottenere privilegi o assumere un’altra identità, Dipende dal contesto

Tutte le 826 CVE di tipo CWE-346, con andamento e prevenzione

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