Vulnerability report

Exploited in the wild Confirmed confidence In CISA KEV

CVE-2025-31125

vite

Vitejs / vite · >= 6.2.0, < 6.2.4

Severity
CVSS 5.3 · Medium
Confidence
Confirmed
Exploit status
Exploited in the wild
EPSS
65.2%
First observed
—
Last observed
—

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2025-31125 is an unauthenticated vulnerability affecting Vitejs vite. Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps...

Is it exploited?

Yes. Previdian tracks this CVE as a known exploited vulnerability. Confidence is confirmed. Listed in CISA KEV. Also confirmed by third-party sources.

Who is affected?

Vitejs / vite >= 6.2.0, < 6.2.4.

What should we do?

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Overview

Vite is a frontend tooling framework for javascript

Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import.

Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.

vitejs Affected
vite
>= 6.2.0, < 6.2.4 >= 6.1.0, < 6.1.3 >= 6.0.0, < 6.0.13 >= 5.0.0, < 5.4.16 Before 4.5.11
Published
31 Mar 2025
Exploitation Reported
01 Jun 2026
Attack vector
Remote
Complexity
High
Privileges
None
User interaction
Required

Tags

cisa nuclei_scanner

CVE References

Exploitation evidence

Why Previdian marks this CVE as exploited

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Exploited in the wild

CISA

Recorded 01 Jun 2026

A trusted third party reported exploitation.

Proof of concept available

GitHub

Recorded 01 Apr 2025

Public scanner or PoC coverage increases practical exploitability.

Known exploited vulnerability sources

Per-source evidence links for KEV attestations are available through the Previdian Pro API.

Learn about Pro API access
Source Added
CVE First 2026-06-01 10:49 UTC
CISA 2026-06-02 14:04 UTC

Detection

Operational artifacts and observed signals

Make the evidence actionable in scanner, SOC, and edge-control workflows.

Observed signals

Request targets
User-Agents
Callback hosts
0
0
0

Request targets and User-Agents available in Pro. Callback host details available in Enterprise.

Virtual patch status

No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.

Learn about virtual patches →

Scanner Artifacts

Scanner and exploit-framework references linked to this CVE.

Risk and context

Severity, weaknesses, and research context

CVSS v3.1

5.3 Medium

Potential damage if exploited. Separate from whether attackers are using it.

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS

65.2%

Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.

Potential Proof of Concepts

These PoCs are unverified and could contain malware. Use at your own risk.

Timeline

From disclosure to observed exploitation

  1. 14:20 UTC

    Public PoC available

    Public proof-of-concept code published

  2. 14:04 UTC

    Added to CISA KEV

    Listed in the CISA Known Exploited Vulnerabilities catalog

  3. 10:49 UTC

    Added to Previdian KEV Feed

    High-confidence, third-party attested exploitation

  4. 00:00 UTC

    Nuclei template available

    Scanner coverage available

  5. 17:06 UTC

    CVE published

    Vulnerability disclosed publicly

  6. 15:04 UTC

    CVE ID reserved

    Identifier reserved by the CNA

Pro API

Automate this intelligence

Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.

  • Evidence confidence and provenance
  • First-party sensor telemetry
  • PoC and scanner references
  • Affected versions and enrichment
  • Automation-ready JSON delivery

GET /api/v2/pro/kevs/CVE-2025-31125

Sample API response
{
  "cve_id": "CVE-2025-31125",
  "confidence": "Confirmed",
  "cvss_score": 5.3,
  "cvss_estimated": false,
  "epss_score": 0.65189,
  "exploit_status": {
    "exploited_in_the_wild": true,
    "active_exploitation_observed": false
  },
  "sensor_telemetry": { "attempts": 0, "sensors": 0 }
}