CVE & CISA-KEV Catalog

CVE-2025-31125

MEDIUMCISA KEVEPSS 99th pctl
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
viteNVD
Affected:>= 6.2.0, < 6.2.4Fixed in:6.2.4CVE-2025-31125derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

58.80%probability of exploitation in 30 days
99thpercentile

Very high risk: more likely to be exploited than 99% of all known CVEs.

Known Exploited Vulnerability (CISA KEV)

Remediation due: 2026-02-12

References

Exploit1
Government Resource1

Related Vulnerabilities

Other CWE-200 (Information Exposure) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24919High8.6100%KEV + Ransom-
CVE-2020-14181Medium5.3100%-Fix
CVE-2021-34429Medium5.399%-Fix
CVE-2018-11409Medium5.398%--
CVE-2021-41277Critical10.097%KEV-
CVE-2016-2183High7.596%-Fix

Common questions

How do I fix CVE-2025-31125?

Upgrade vite to 6.2.4 or later.

Is CVE-2025-31125 being actively exploited?

Yes. CVE-2025-31125 is listed in the CISA Known Exploited Vulnerabilities catalog, which means exploitation has been observed in the wild. US federal agencies were required to remediate it by 2026-02-12. Treat it as a priority whatever its CVSS score says.

How severe is CVE-2025-31125?

CVE-2025-31125 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-31125 affect?

Published advisories record a fix for vite (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-31125
CVE-2025-31125 severity badge

Markdown

[![CVE-2025-31125](https://tridentstack.com/cve/badge/CVE-2025-31125.svg)](https://tridentstack.com/cve/CVE-2025-31125)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-31125"><img src="https://tridentstack.com/cve/badge/CVE-2025-31125.svg" alt="CVE-2025-31125"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-01-23.