Security Resilience

CVE-2025-24010

Vitejs Vite ≤ 4.5.5

Public PoC
Published
20 January 2025
Modified
19 September 2025
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS Score 0.0030 23th percentile
Risk Priority 49 floored blend · peak EPSS

CVSS 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

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

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-58752Same product: Vitejs Vite
CVE-2023-34092Same product: Vitejs Vite
CVE-2025-46565Same product: Vitejs Vite
CVE-2025-58751Same product: Vitejs Vite
CVE-2023-49293Same product: Vitejs Vite
CVE-2025-30208Same product: Vitejs Vite
CVE-2025-31125Same product: Vitejs Vite
CVE-2026-39364Same product: Vitejs Vite
CVE-2024-23331Same product: Vitejs Vite
CVE-2026-39365Same product: Vitejs Vite

Affected Assets

vitejs
vite
≤ 4.5.5 · 5.0.0 — 5.4.12 · 6.0.0 — 6.0.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • 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.

PR.PS-06 full match
blocks

Secure SDLC practices directly require origin validation for WebSocket endpoints.

PR.AA-03 mostly match
blocks

Strong authentication of users/services/hardware directly prevents security decisions based on unauthenticated reverse DNS.

DE.CM-01 partial match
blocks

Monitoring DNS services can detect adverse events stemming from unverified reverse lookups.

PR.AA-05 partial match
blocks

Enforcing authorization policy on incoming connections can require origin checks.

PR.IR-01 partial match
blocks

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.

finds

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.

prevents

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.

prevents

Secure coding practices include implementing proper origin validation to prevent spoofing.

blocks

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.

prevents

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.

blocks

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.

References