CVE-2025-31125 · Known exploited vulnerability

CVE-2025-31125: Vite js Improper Access Control

Actively exploited (CISA KEV)Ransomware use: Unknown

Summary

CVE-2025-31125 is an improper access control vulnerability in Vite js, rated high severity with a CVSS base score of 7.5.

CISA added it to the Known Exploited Vulnerabilities catalogue on 22 January 2026, which means there is reliable evidence that attackers have exploited it.

It can be exploited remotely over a network without needing an account.

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.
CISA catalogue description

Key facts

Affected product
Vite · Vitejs
CVSS severity
High7.5CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS (exploitation likelihood, next 30 days)
74.93%Higher than 99.5% of all scored CVEs
Weakness (CWE)
CWE-200CWE-284
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

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.

What UK organisations should do

01 Patch or mitigate

  • Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
  • 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. CISA set a remediation due date of 12 February 2026 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Vite js anywhere, including systems managed by suppliers or cloud providers.
  • Identify what data and credentials the affected component can expose, and plan to rotate secrets if exposure is possible.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Watch for follow-on activity using exposed credentials, such as logins from new locations or unusual API calls.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

Same weakness (CWE-200) in other products

  • CVE-2025-68686

    Fortinet · FortiOS

    Exposure of Sensitive Information to an Unauthorized Actor

    Medium5.9
  • CVE-2026-20133

    Cisco · Catalyst SD-WAN Manager

    Exposure of Sensitive Information to an Unauthorized Actor

    High7.5
  • CVE-2026-20805

    Microsoft · Windows

    Information Disclosure

    Medium5.5
  • CVE-2021-41277

    Metabase · Metabase

    GeoJSON API Local File Inclusion

    High7.5
  • CVE-2024-24919

    Check Point · Quantum Security Gateways

    Information Disclosure

    RansomwareHigh8.6
  • CVE-2023-21237

    Android · Pixel

    Information Disclosure

    Medium5.5

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.