{"id":69765,"date":"2025-09-09T04:32:41","date_gmt":"2025-09-09T01:02:41","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-58752-vites-server-fs-settings-were-not-applied-to-html-files\/"},"modified":"2025-09-09T04:32:41","modified_gmt":"2025-09-09T01:02:41","slug":"cve-2025-58752-vites-server-fs-settings-were-not-applied-to-html-files","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-58752-vites-server-fs-settings-were-not-applied-to-html-files\/","title":{"rendered":"CVE-2025-58752 &#8211; Vite&#8217;s `server.fs` settings were not applied to HTML files"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-58752<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 8, 2025, 11:15 p.m. | 1\u00a0hour, 39\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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 &#8211;host or server.host config option) and use `appType: &#8216;spa&#8217;` (default) or `appType: &#8216;mpa&#8217;` 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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 2.3 | LOW<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-58752 Published : Sept. 8, 2025, 11:15 p.m. | 1\u00a0hour, 39\u00a0minutes ago Description : 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-69765","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=69765"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69765\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=69765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=69765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=69765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}