basicsecurity.net
Proof, not just disclosure.
Threats / Vite / CVE-2025-31125
CVE-2025-31125 · EUVD no mirror located · GCVE no mirror located Verified 2026-06-22

Vite Vitejs vulnerability

Vite dev server contains an improper access control vulnerability allowing unauthorized file content exposure through query parameters when the server is exposed to the network.

Verdict

Today item — known-exploited.

An attacker on the network can bypass access controls in Vite's dev server to read non-allowed files by manipulating inline and raw import query parameters, affecting applications with network-exposed dev servers.

CISA KEV Yes · 2026-01-223EPSS 0.60288 (verify live)4Exploit Public PoC5
01

Is it exploitable?

— the evidence, ranked above the score
Exploit available
Public proof-of-concept exploit code is cataloged for this vulnerability.We link the existence of the exploit; we do not host or redistribute payloads.
Reported exploitation
3 independent public reports of in-the-wild exploitation are cataloged.Distinct reporting sources (vendor, incident response, government); open them for the underlying claims.
Exploited in the wild
Listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-01-22).
CISA KEV ↗Confirmed
Probability (EPSS)
EPSS 0.60288 — modeled likelihood of exploitation activity.EPSS is a daily-changing model output — open the source for today's value.
Severity / affected
Affected: Vite, Vitejs. Confirm exact fixed builds in the vendor advisory.
NVD ↗Reported
Weakness (CWE)
Mapped to CWE-200 Information Exposure, CWE-284 Improper Access Control — weakness family: Authorization / access control.CWE assignment from the public NVD record; the weakness class drives how the flaw is exploited.
NVD ↗Reported
02

Who’s exploiting it?

— attribution turns risk into urgency
Attribution not established

No confirmed (advisory-backed) threat-actor attribution is established for this record. Absence of a named actor is not absence of compromise — see Coverage & confidence.

03

Why it matters

— the attack path, told twice: adversary, then board
1

Front door — unauthenticated access narrative 1

Attacker
I craft HTTP requests with ?inline&import or ?raw?import query parameters to the exposed Vite dev server.
Business
Source code, configuration files, and other sensitive application content become readable to network-based attackers.
2

Keys to the kingdom — privilege/identity takeover narrative 2

Attacker
I enumerate accessible files by testing various paths and parameter combinations against the dev server.
Business
Intellectual property and secrets embedded in the codebase are compromised, increasing breach scope and regulatory exposure.
3

Lateral reach — past segmentation narrative 3

Attacker
I extract environment variables, API keys, or database credentials visible in exposed configuration or source files.
Business
Downstream systems and services become compromised, enabling lateral movement and further infrastructure attacks.
04

What to do

— defensible action
  • Remediate per the vendor advisory — confirm the fixed build for your version and verify exposure.1
Say it to the boardA vulnerability with this evidence profile is a defensible budget line, not a backlog ticket — fund the change against the proof above.
05

Coverage & confidence

— what we know, and what we don’t

Established (cited)

  • KEV listing (CISA)
  • EPSS probability (FIRST)
  • Public PoC available (VulnCheck)
  • 3 reported-exploitation source(s)
  • CWE weakness mapping (NVD)
  • Public exploit availability
  • Catalogued by GitHub_M (CNA)
  • Coverage gaps — stated, not hidden

  • No EUVD / GCVE mirror in feed — single-authority dependency for the identifier.
  • EPSS & exposure are time-varying; verify live at the source.
  • Threat-actor attribution not established from feed data — absence of a name is not absence of compromise.
  • No finder/reporter credit recorded in the public CVE entry — the work behind this find is unattributed.
  • Disclosure & credit2
    Catalogued by GitHub_MCNA
    Credited with finding itNo finder named in the public CVE record — the work behind this find is unattributed.