Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Evidence dossier
CVE-2025-31125
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
gen-56ccdaf9Normalized restatement
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.
- State
- PUBLISHED
- Published
- Mar 31, 2025
- Updated
- Jan 23, 2026
- Evidence coverage
- 72%
2026-07-18 · v2026.06.15 · percentile 99.0%
Distinct CVSS assessments remain side by side; none are averaged.
Source comparison
Who said what
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
Vite Vitejs Improper Access Control Vulnerability
Probability 0.587650000000; percentile 0.990040000000
Applicability
Cited product scope
[{"status": "affected", "version": ">= 6.2.0, < 6.2.4"}, {"status": "affected", "version": ">= 6.1.0, < 6.1.3"}, {"status": "affected", "version": ">= 6.0.0, < 6.0.13"}, {"status": "affected", "version": ">= 5.0.0, < 5.4.16"}, {"status": "affected", "version": "< 4.5.11"}]unknowncpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*; end excluding 4.5.11supportedcpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*; start including 5.0.0; end excluding 5.4.16supportedcpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*; start including 6.0.0; end excluding 6.0.13supportedcpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*; start including 6.1.0; end excluding 6.1.3supportedcpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*; start including 6.2.0; end excluding 6.2.4supportedAssessments
CVSS by origin
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NLimitations and unknowns
- KEV membership is authoritative for the catalog, not proof of exposure in any environment.
- EPSS is a dated model probability and not an individual-environment prediction.
- Affected or fixed status applies only to the exact cited product and version scope; unresolved scope remains unknown.
- NVD-carried upstream facts remain derivative and are not independent corroboration.
- Only NVD metrics validated under the generation-bound calculator are Public Priority eligible; direct CVE record metrics remain display-only.
- NVD CVSS source eligibility is closed: NVD-authored, exact record-source, or registered same-CVE container origin; unmapped sources remain display-only.
- Factor D is unknown in Public Core because no accepted canonical mapping-obligation ledger is present.
- Core replay supports the active and immediately prior generation; retrospective valid-at replay is deferred.