Vite · Vitejs · CWE-200 · CWE-284 · published 2025-03-31

CVE-2025-31125Vite Vitejs Improper Access Control Vulnerability

This week Known exploited in the wild.

CVE-2025-31125 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-01-22. EPSS estimates a 74.9% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Vitejs vulnerability: CVSS 5.3 (v3.1), a successful attack gives total control of the component. CISA’s required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. US federal agencies must remediate by 2026-02-12. Patch this week.

Share this

Remediation#

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. (federal due date 2026-02-12)

Patch events

  1. This weekExploited (KEV)CISA due 2026-02-12

    Other softwareVitejs

    Improper Access ControlCVE-2025-31125

    Why: Known exploited in the wild.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2026-01-22CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)75% (100th pct)FIRST EPSS v2026.06.15
CVSS base score5.3 (v3.1)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor · CWE-284: Improper Access Control

More from this vendor: all Vite vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →