cve.bz

CVE-2025-24010 vitejs vite: Origin Validation Error

6.5 mediumExploit referenceEPSS 0.3%Fix available

Medium (6.5) in vitejs vite. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in vite 4.5.6, 5.4.12, 6.0.9.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-01-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-346 Origin Validation Error
CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action
CWE-1385 Missing Origin Validation in WebSockets
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

  • vite (npm): fixed in 6.0.9, 5.4.12, 4.5.6

Ask an AI about this CVE

Show the promptExplain CVE-2025-24010 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-24010?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-24010?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-24010 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vitejs:vitebefore 4.5.5
vitejs:vitefrom 5.0.0 before 5.4.12
vitejs:vitefrom 6.0.0 before 6.0.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vg6x-rcgg-rjx6npmvite>=6.0.0 <6.0.96.0.9
GHSA-vg6x-rcgg-rjx6npmvite>=5.0.0 <5.4.125.4.12
GHSA-vg6x-rcgg-rjx6npmvite<4.5.64.5.6

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2automation-controllerNot affected
Red Hat Ansible Automation Platform 2automation-eda-controllerNot affected
Red Hat Ansible Automation Platform 2automation-gatewayNot affected
Red Hat Build of Keycloakorg.keycloak-keycloak-parentNot affected
Red Hat JBoss Enterprise Application Platform 8org.keycloak-keycloak-parentNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packorg.keycloak-keycloak-parentNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-24010.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-89 Pharming Likelihood: High · Severity: Very High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-275 DNS Rebinding Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16).

References

Check your stackJSON