As of , CVE-2025-31125 in Vitejs is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2025-31125
Vitejs: Improper Access Control. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- EPSS 0.75
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.
Patch infofixed versions and vendor advice
What to install
Affects vitejs vite before 4.5.11, from 5.0.0 before 5.4.16, from 6.0.0 before 6.0.13, from 6.1.0 before 6.1.3 and from 6.2.0 before 6.2.4.
Fixed in 4.5.11, 5.4.16, 6.0.13, 6.1.3 and 6.2.4.
Vendor advice
Vendor advice: github.com, from CISA's entry.
- github.comThis vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used…
- EPSS score
- 0.75Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 22 January 2026
- US federal deadline
- 12 February 2026 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- 0.04 on 22 January 2026 EPSS on the day CISA listed it.
- Public exploit
- None found Neither Metasploit nor Exploit-DB lists one.
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
vitenpm
Affects vite before 4.5.11, from 5.0.0 before 5.4.16, from 6.0.0 before 6.0.13, from 6.1.0 before 6.1.3 and from 6.2.0 before 6.2.4.
Fixed in 4.5.11, 5.4.16, 6.0.13, 6.1.3 and 6.2.4.
Advisory GHSA-4r4m-qw57-chr8
Since listing
EPSS since listing
EPSS for CVE-2025-31125 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.04 | |
| 0.74 | |
| 0.62 | |
| 0.67 | |
| 0.66 | |
| 0.69 | |
| 0.66 | |
| 0.64 | |
| 0.62 | |
| 0.65 | |
| 0.79 | |
| 0.78 | |
| 0.76 | |
| 0.74 | |
| 0.83 | |
| 0.82 | |
| 0.83 | |
| 0.84 | |
| 0.83 | |
| 0.60 | |
| 0.62 | |
| 0.59 | |
| 0.58 | |
| 0.65 | |
| 0.66 | |
| 0.75 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Read further: CISA's catalog
The flaw
What the flaw is
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's 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.
The CVE record's description, from GitHub_M
- CVE published
- 31 March 2025
- Assigned by
- GitHub_M
- CVSS
- 5.3 Medium (CVSS 3.1, from the CNA)
- CWE-200
- Exposure of Sensitive Information to an Unauthorized Actor
- CWE-284
- Improper Access Control
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- no
- CISA SSVC, technical impact
- total
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0