Bug 2393983 (CVE-2025-58752) - CVE-2025-58752 vite: Vite's `server.fs` settings were not applied to HTML files
Summary: CVE-2025-58752 vite: Vite's `server.fs` settings were not applied to HTML files
Keywords:
Status: NEW
Alias: CVE-2025-58752
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-09 00:01 UTC by OSIDB Bzimport
Modified: 2025-09-15 08:57 UTC (History)
44 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-09 00:01:51 UTC
Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, any HTML files on the machine were served regardless of the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected. This vulnerability also affects the preview server. The preview server allowed HTML files not under the output directory to be served. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.


Note You need to log in before you can comment on or make changes to this bug.