S4E just found a high-severity finding from ssl sweet32 vulnerability checker
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 10, 2025

CVE-2025-31486 Scanner

CVE-2025-31486 Scanner - Local File Inclusion (LFI) vulnerability in Vite

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.5k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-31486
5.3
CVSSmedium
Exploitable remotely over the internet · no authentication required · user interaction needed.

Vite is a frontend tooling framework for javascript. The contents of arbitrary files can be returned to the browser. By adding ?.svg with ?.wasm?init or with sec-fetch-dest: script header, the server.fs.deny restriction was able to bypass. This bypass is only possible if the file is smaller than build.assetsInlineLimit (default: 4kB) and when using Vite 6.0+. 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 4.5.12, 5.4.17, 6.0.14, 6.1.4, and 6.2.5.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
viteby vitejs
< 4.5.12
Updated Sep 9, 2026View on NVD →
Detail

Vite is a frontend tooling framework primarily used in the development and bundling of JavaScript applications. It is employed by developers worldwide to efficiently create modern web applications. Due to its rapid build times and hot module replacement feature, Vite is particularly popular for projects that require frequent iteration and quick feedback loops. The framework supports a wide variety of plugins and is adaptable to different development environments, making it a versatile tool for frontend developers. This flexibility, combined with its performance benefits, has made Vite a preferred choice for many in the web development community. Organizations aim to leverage Vite to streamline development processes, especially for large-scale projects with diverse frontend requirements.

The vulnerability identified in Vite pertains to the ability to bypass the server's local file inclusion restrictions. This specific issue arises in situations where the Vite dev server is exposed to the network using specific configurations. Local File Inclusion (LFI) vulnerabilities can allow attackers to access restricted files on the server, which may contain sensitive information. The exploitation involves manipulating path requests to bypass security checks using crafted URL patterns. This vulnerability is mainly a concern for applications that are improperly configured, but it highlights a notable risk in how Vite handles file requests. Addressing this problem is critical to prevent unauthorized access to sensitive server files.

In technical terms, the vulnerability involves appending query parameters like ?.svg' or ?.wasm?init' to a file request to bypass security restrictions. The server.fs.deny restriction could be circumvented, allowing malicious file requests. However, for the exploit to succeed, the file accessed must be smaller than a specified inline limit, which is typically set at 4kB. Moreover, the attack vector is limited to specific configurations where Vite's dev server is exposed to the network. This vulnerability primarily exploits flaws in the handling of URLs and server configurations, representing a significant risk if not properly mitigated.

When this vulnerability is exploited, malicious actors could access sensitive files on the server, such as password files or configuration data. The implications include unauthorized data access, disclosure of sensitive information, and potentially further exploitation if other vulnerabilities are present. The damage could extend to data breaches and unauthorized access, leading to broader security issues within the affected systems. Thus, timely remediation measures are vital to safeguard against possible data leaks and unauthorized access.

REFERENCES

Solution Advice
  • Update Vite to version 4.5.12, 5.4.17, 6.0.14, 6.1.4, 6.2.5, or later to patch the vulnerability.
  • Ensure the Vite dev server is not exposed to the network using --host or server.host configuration unless necessary.
  • Implement network access controls to restrict exposure of the dev server to trusted parties only.
  • Regularly audit and review server configurations to detect and remediate security misconfigurations.
  • Monitor access logs for any suspicious activities indicative of exploitation attempts.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.