/
DirectorySecurity AdvisoriesPricing
Sign in
Security Advisories

CVE-2025-31125

Published

Last updated

NVD

https://nvd.nist.gov/vuln/detail/CVE-2025-31125

Severity

5.3

Medium

CVSS V3

Summary

Vite has a server.fs.deny bypassed for inline and raw with ?import query

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.

References

Affected packages


The trusted source for open source

Talk to an expert
© 2025 Chainguard. All Rights Reserved.
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsIntegrationsPricing