CVE-2025-31486
Last modified
CVE-2025-31486 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Vite is a frontend tooling framework for javascript. The contents of arbitrary files can be returned to the browser. EPSS estimates a 35.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-31486?
How severe is CVE-2025-31486?
How do I fix CVE-2025-31486?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-31480aiven-extras is a PostgreSQL extension. This is a privilege …9.1
- CVE-2025-31481API Platform Core is a system to create hypermedia-driven RE…7.5
- CVE-2025-31482FreshRSS is a self-hosted RSS feed aggregator. A vulnerabili…4.3
- CVE-2025-31483Miniflux is a feed reader. Due to a weak Content Security Po…4.8
- CVE-2025-31484conda-forge infrastructure holds common configurations and s…9.3
- CVE-2025-31485API Platform Core is a system to create hypermedia-driven RE…7.5
- CVE-2025-31487The XWiki JIRA extension provides various integration points…7.7
- CVE-2025-31488Plain Craft Launcher (PCL) is a launcher for Minecraft. PCL …4.9
- CVE-2025-31489MinIO is a High Performance Object Storage released under GN…8.7
- CVE-2025-3149A vulnerability was found in itning Student Homework Managem…4.8
- CVE-2025-31490AutoGPT is a platform that allows users to create, deploy, a…7.5
- CVE-2025-31491AutoGPT is a platform that allows users to create, deploy, a…8.6
Are you affected by CVE-2025-31486?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
