目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-31125— Vite 安全漏洞

一分钟漏洞结论

影响对象
vitejs vite
利用判断
已确认在野利用,应立即处置
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Vite是Vite开源的一种新型的前端构建工具。 Vite存在安全漏洞,该漏洞源于存在暴露非允许文件内容问题。

CVSS 5.3 · Medium KEV EPSS 65.19% · P99

公开利用映射 1

可能的 ATT&CK 技术 1 AI

T1530 · Data from Cloud Storage
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-31125 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
信息暴露
来源: CVE Program / CVE List V5
Vulnerability Title
Vite 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Vite是Vite开源的一种新型的前端构建工具。 Vite存在安全漏洞,该漏洞源于存在暴露非允许文件内容问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

神龙十问 — AI 深度分析

十问解析:根本原因、利用方式、修复建议、紧迫性。摘要免费,完整版需登录。

受影响产品

厂商 产品 影响版本 CPE 订阅
vitejs vite >= 6.2.0, < 6.2.4 -

二、漏洞 CVE-2025-31125 的公开POC

# POC 描述 源链接 神龙链接
1 Vite 任意文件读取漏洞POC https://github.com/sunhuiHi666/CVE-2025-31125 POC详情
2 Path traversal vulnerability in Vite development server's @fs endpoint allows attackers to access files outside the intended directory. When exposed to the network, attackers can exploit this via crafted URLs to access sensitive system files. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31125.yaml POC详情
3 Vite WASM Import Path Traversal 🛡️ https://github.com/0xgh057r3c0n/CVE-2025-31125 POC详情
4 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. https://github.com/harshgupptaa/Path-Transversal-CVE-2025-31125- POC详情
5 Vite Development Server's @fs endpoint (CVE-2025-31125) to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs. https://github.com/MuhammadWaseem29/Vitejs-exploit POC详情
6 None https://github.com/nak000/Vitejs-exploit-CVE-2025-31125-rce POC详情
7 Vite WASM Import Path Traversal 🛡️ https://github.com/zr1p3r/CVE-2025-31125 POC详情
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-31125 的情报信息

请登录查看更多情报信息。

CVE-2025-31125 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-31125

暂无评论


发表评论