Skip to content
StrikeCyberStrikeCyber
Threat Radar · Actively exploited

Vite Vitejs (CVE-2025-31125)

Exploited in the wild Added 22 January 2026 EPSS 74.9%Other

Quick answer

Yes. CVE-2025-31125 in Vite Vitejs is being exploited by attackers: CISA added it to its Known Exploited Vulnerabilities catalogue on 22 January 2026. If you run Vitejs, apply the vendor's fix now and check for signs of compromise.

ConfirmedExploited in the wild
Not knownRansomware use
74.9%EPSS · top 1%
22 JanuaryAdded to CISA KEV

What is CVE-2025-31125?

Vite Vitejs Improper Access Control Vulnerability. Vite Vitejs contains an improper access control vulnerability that 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.

Description from the CISA Known Exploited Vulnerabilities catalogue.

What kind of flaw is it?

Information exposureCWE-200

Sensitive information is disclosed to someone who should not see it.

Other exploited information exposure
Improper access controlCWE-284

The system does not properly restrict who can do what.

Other exploited improper access control How it works

Why it matters

This vulnerability affects software outside the main categories, but inclusion in the exploited catalogue means attackers are already using it.

Likelihood of exploitation activity in the next 30 days (EPSS)74.9%

Higher than 100% of all scored vulnerabilities.

Am I affected? How to check

  1. 1Confirm whether you run the affected product.
  2. 2Check the installed version against the vendor advisory.
  3. 3Check whether the affected service is reachable from the internet.

What to do now

  1. 1Apply the vendor fix or mitigation.
  2. 2Review logs for signs of exploitation since disclosure.
  3. 3If the service was exposed while unpatched, treat it as potentially compromised and rotate any credentials it holds.

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.

How fast to patch

Under the Essential Eight, patches for internet-facing services should be applied within 48 hours when a working exploit exists, and higher maturity levels apply the same 48-hour target to applications such as browsers and office software. A vulnerability in this catalogue has, by definition, been exploited in the wild, so treat it as the 48-hour case.

Common questions

Is CVE-2025-31125 being exploited?

Yes. It is listed in CISA's Known Exploited Vulnerabilities catalogue, which only includes vulnerabilities with confirmed exploitation in the wild. It was added on 22 January 2026.

How do I fix CVE-2025-31125?

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Check the vendor advisory for fixed versions, and if the system was exposed while unpatched, investigate it for signs of compromise.

Is my Vite Vitejs affected?

Check your installed version against the vendor advisory linked on this page. If the affected component is reachable from the internet and unpatched, assume it is at risk and act immediately.

Sources

1300 654 898