Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-31125 Details

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability NameDate AddedDue DateRequired Action
Vite Vitejs Improper Access Control VulnerabilityJan 22, 2026Feb 12, 2026Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Weakness Enumeration

CWE-IDCWE NameSource
NVD-CWE-noinfoInsufficient Information to Classify Weakness[email protected]
CWE-200Exposure of Sensitive Information to an Unauthorized Actor[email protected]
CWE-284Improper Access Control[email protected]

Affected Products

ProductVersions
vitejs vite
< 4.5.11
>= 5.0.0, < 5.4.16
>= 6.0.0, < 6.0.13
>= 6.1.0, < 6.1.3
>= 6.2.0, < 6.2.4

CPE

  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-31125
NVD Published Date:
Mar 31, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]