Skip to main content
VulnerabilityPublished Updated

CVE-2025-24010: Websites were able to send any requests to the development server and read the response in vite

Affects viteSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 6.0.9 when convenient.

Data as of 13 Nov 2026, 21:02 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.0.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade vite to 6.0.9.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=2.5.1 <6.0.9
Fixed in
  • 6.0.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in newer versions of Vite beyond 6.0.8. Users should upgrade to a fixed version. For those unable to upgrade immediately, mitigations include setting 'server.cors' to false or limiting 'server.cors.origin' to trusted origins to restrict CORS, configuring 'server.allowedHosts' when using reverse proxies or non-localhost domains, and using Chrome 94+ or HTTPS to mitigate Host header issues. There is no mitigation for the lack of Origin header validation on WebSocket connections except upgrading. Users employing backend integration or custom plugins should carefully configure origins and allowed hosts as per vendor guidance. The vendor advisory should be consulted for detailed configuration.

Description

Vite development server versions from 2.5.1 up to but not including 6.0.9 have a vulnerability that allows any website to send requests to the dev server and read responses due to permissive default CORS settings and lack of Origin header validation on WebSocket connections. This affects even local-only dev servers. The vulnerability can expose sensitive development files to malicious websites. A fix is available in newer Vite versions. Mitigations include configuring CORS origins, allowed hosts, and using HTTPS or updated browsers. Some mitigations are not possible without upgrading.

References

Community reviews

Loading reviews…