Vite allows any websites to send any requests to the development server and read the response (vitejs vite)

CVE-2025-24010
MEDIUM 6.5

En bref

Source
NVD
EPSS
EPSS 0.30 % · centile 24 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Produits affectés
vitejs · vite
Statut NVD
Analyzed

Description

Vite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response due to default CORS settings and lack of validation on the Origin header for WebSocket connections. This vulnerability is fixed in 6.0.9, 5.4.12, and 4.5.6.

Faiblesses (CWE)

  • CWE-346 — Erreur de validation de l'origine
  • CWE-350 — Reliance on Reverse DNS Resolution for a Security-Critical Action
  • CWE-1385 — Missing Origin Validation in WebSockets

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NGitHub_M
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NNVD · security-advisories@github.com (Secondary)

Avis

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions affectées
vitejs · vite
affectée : >= 6.0.0, < 6.0.9
affectée : >= 5.0.0, < 5.4.12
affectée : < 4.5.6

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD