IDORSSRFAUTH BYPASSJWT FORGERYRACE CONDITIONXXEBROKEN OBJECT-LEVEL AUTHPRIVILEGE ESCALATIONMASS ASSIGNMENTGRAPHQL INTROSPECTION ABUSEIDORSSRFAUTH BYPASSJWT FORGERYRACE CONDITIONXXEBROKEN OBJECT-LEVEL AUTHPRIVILEGE ESCALATIONMASS ASSIGNMENTGRAPHQL INTROSPECTION ABUSE
Impactr Logoimpactr
FeaturesHow it worksEvidencePricingLearnVulnerability DBCompare
  1. Home
  2. Vulnerability Database
  3. CVE-2025-31125
CVE-2025-31125 CISA KEV — actively exploited

Vite Vitejs Improper Access Control Vulnerability

vitejs — vite

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.

CVSS scoreMedium

5.3

EPSS — exploitation probabilityHigh

58.8%

Vector breakdown

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Published
Mar 31, 2025
Modified
Jan 23, 2026
Added to KEV
Jan 22, 2026
Federal patch due
Feb 12, 2026

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.

Weakness classification

CWE-200Exposure of Sensitive Information to an Unauthorized ActorCWE-284Improper Access Control

Proof-of-concept & exploitation references

Weaponization

Nuclei template

Available

Metasploit module

Not found

Public repositories whose name or description references CVE-2025-31125, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.

No public GitHub repositories referencing CVE-2025-31125 were found at last check. Absence here is not proof no exploit exists - see the references below for vendor advisories and write-ups.

References

  • github.com
  • github.com

Frequently asked questions

What is CVE-2025-31125?

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 severe is CVE-2025-31125?

CVE-2025-31125 has a CVSS base score of 5.3 out of 10 (CVSS 3.1).

Is CVE-2025-31125 actively exploited in the wild?

Yes. CVE-2025-31125 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added Jan 22, 2026, meaning CISA has confirmed evidence of active exploitation.

What is the EPSS score for CVE-2025-31125?

58.8% - meaning FIRST.org's EPSS model estimates a 58.8% probability this vulnerability will be exploited in the wild within 30 days (99% percentile among all scored CVEs).

Is there exploit tooling available for CVE-2025-31125?

Yes - a public Nuclei template referencing CVE-2025-31125 exist in public repositories we checked.

What type of vulnerability is CVE-2025-31125?

CVE-2025-31125 is classified under CWE-200, CWE-284 (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor).

Cross-checked against

  • NVD (NIST)
  • MITRE CVE Record
  • CISA KEV
  • FIRST.org EPSS
  • GitHub Advisory Database
  • GitHub public repository search

Impactr finds and proves whether CVE-2025-31125 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.

Join the waitlist
← Vulnerability database
Impactr Logoimpactr

Built by hackers, for the code you ship. Autonomous AI penetration testing for modern web apps and APIs.

© 2026 Impactr

Product

FeaturesCoverageUse casesEvidencePricingWaitlist

Resources

VulnerabilitiesVulnerability databaseGuidesComparisonsGlossaryCWE databaseBy industryBy languageHTTP status codesSecurity headers

Company

ContactTwitterLinkedInGitHub