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
58.8%
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. KEV Intelligence tracks this CVE as a known exploited vulnerability. Confidence is confirmed.

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.

Vendor Product Affected Status
vitejs vite >= 6.2.0, < 6.2.4 Affected
vitejs vite >= 6.1.0, < 6.1.3 Affected
vitejs vite >= 6.0.0, < 6.0.13 Affected
vitejs vite >= 5.0.0, < 5.4.16 Affected
vitejs vite Before 4.5.11 Affected
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 KEV Intelligence 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

Independent exploitation attestation added to the KEV Intelligence record.

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 KEV Intelligence 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
0
User-Agents
0

Raw values available in Pro and Enterprise.

Virtual patch status

No KEV Intelligence 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
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS

58.8%

Potential Proof of Concepts

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

Timeline

From disclosure to observed exploitation

  1. Public PoC available

    Public proof-of-concept code published

  2. Added to CISA KEV

    Listed in the CISA Known Exploited Vulnerabilities catalog

  3. Added to KEV Intelligence KEV Feed

    High-confidence, third-party attested exploitation

  4. Nuclei template available

    Scanner coverage available

  5. CVE published

    Vulnerability disclosed publicly

  6. 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

Free JSON includes basic KEV fields
{
  "cve_id": "CVE-2025-31125",
  "confidence": "Confirmed",
  "cvss_score": 5.3,
  "cvss_estimated": false,
  "epss_score": 0.58801,
  "exploit_status": {
    "exploited_in_the_wild": true,
    "active_exploitation_observed": false
  },
  "sensor_telemetry": { "attempts": 0, "sensors": 0 }
}

Early warning alerts

Get alerts on high-impact exploitation

Receive curator-selected alerts when exploitation activity warrants attention. Each alert includes the evidence and context needed to decide what requires attention now.

Occasional high-impact alerts. Unsubscribe anytime. See our Privacy Policy.