CVE-2025-24010
Vitejs Vite ≤ 4.5.5
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-24010 is a medium-severity Origin Validation Error (CWE-346) vulnerability in Vitejs Vite. Its CVSS base score is 6.5 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 23th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-0195
Vulnerability Data
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.…
more
This vulnerability is fixed in 6.0.9, 5.4.12, and 4.5.6.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V4.4.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Enforces approved authorizations on logical access, which can include origin checks before accepting WebSocket connections.
Information flow enforcement directly requires validating the source of data before allowing transmission or receipt.
Device identification and authentication mandates verifying the source before establishing connections.
Mandating data-origin authentication for name/address resolution stops reliance on unauthenticated reverse DNS responses.
Session authenticity mechanisms require validation that communications originate from the expected party.
Boundary protection at interfaces enforces checks on the origin of incoming communications.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require origin validation for WebSocket endpoints.
Strong authentication of users/services/hardware directly prevents security decisions based on unauthenticated reverse DNS.
Monitoring DNS services can detect adverse events stemming from unverified reverse lookups.
Enforcing authorization policy on incoming connections can require origin checks.
Network protections reduce the feasibility of attackers exploiting unauthenticated reverse-DNS decisions.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.29's source reach (code review, static analysis) reliably detects the pattern of using reverse-DNS results for security decisions — calls to gethostbyaddr() feeding an auth check are a recognizable signature — and penetration testing can attempt DNS spoofing to expose the trust, so the programme finds most instances; the remainder is cases where the lookup is buried in complex logic or where the security decision is implicit and not flagged by automated tools.
Training of technical teams can raise awareness that reverse DNS is not a reliable authentication mechanism, preventing some instances where developers would otherwise rely on it for security decisions, but this is a specialized architectural topic that not all training programmes cover, leaving a substantial remainder.
Secure coding practices include implementing proper origin validation to prevent spoofing.
A.8.3 restricts access to information based on identity and permissions, but CWE-350 is a design flaw where the product makes a security decision based on a spoofable reverse DNS hostname, and no access control rule can stop that flawed logic from being exploited once it is in the code.
A.8.30 carries its preventive effect through contractual requirements for secure design, coding and testing practices (item b, referencing 8.25-8.29), which can reach a design-phase authentication flaw like CWE-350 if the contract specifies that reverse DNS must not be used for security decisions; the effect is partial because it depends on the supplier implementing those practices and on the specific design choice being named in the contract, mirroring the owner's `partial` grade on A.8.30 vs CWE-134.
A.8.5 governs the strength and method of authentication (passwords, MFA, biometrics, log-on procedures) but does not address whether the product relies on reverse DNS resolution for a security decision, so the weakness remains fully exploitable regardless of authentication strength.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-346, a class-level weakness, and none of its children carries one either.