Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-58752
vitejs vite

Score2.3 Low
CVSS 4.0
Exploit probability (EPSS)0.76%
within the next 30 days
CategoryAccess control & privilege
Published8 September 2025
Last modified: 30 September 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, with user interaction.

Impact is limited: reading confidential data.

Weakness type: Exposure of sensitive information.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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 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.

CVSS: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-23, CWE-200 – Exposure of sensitive information, CWE-284 – Improper access control

Affected products

VendorProductVersions
vitejsvite<5.4.20
vitejsvite>=6.0.0 <6.3.6
vitejsvite>=7.0.0 <7.0.7
vitejsvite>=7.1.0 <7.1.5

Sources

Latest in the same category

  • CVE-2026-125635 Medium 4.3
    A **missing authorization** check has been found in the ldb_match_bitmask() function in ldb_match.c of the LDAP matching module in the **libldb library of Samba.** The directory marks an attribute the caller is not…
    Access control & privilege · 30 November 2026
  • CVE-2026-129973 High 7.2
    Velociraptor allows administrators to restrict server-side VQL native file access to approved host directories. Plugins usually check the user has the FILESYSTEM_READ/FILESYSTEM_WRITE permission first (usually only…
    Access control & privilege · 30 November 2026
  • CVE-2026-56477 High 8.8
    HCL Telco Observability is affected by an Improper Authorization vulnerability in its admin endpoint access-control checks, which could allow a remote authenticated attacker to submit a valid, lower-privileged JWT…
    Access control & privilege · 30 November 2026
  • CVE-2026-133644 Not scored
    Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default…
    Access control & privilege · 30 November 2026
  • CVE-2026-133734 Medium 6
    Joomla Extension - phoca.cz - Missing authorization for file actions in Phoca Commander 1.0.0-6.1.4 - Missing authorization checks for file actions allow users with access to the component to create, upload, rename,…
    Access control & privilege · 30 November 2026
  • CVE-2026-133729 Medium 6.4
    Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.4 - Improper limitation of file and folder names for copy, move, delete and rename actions lead to path traversal vulnerabilities.…
    Access control & privilege · 30 November 2026