01 Record
CVE-2025-31486
Vite allows server.fs.deny to be bypassed with .svg or relative paths
MediumPUBLISHEDCNA: GitHub_M
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
02 Description
Vite allows server.fs.deny to be bypassed with .svg or relative paths
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 40.46% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 98.5% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-04-03 18:24Z1 YR AGO
- Last updated
- 2025-04-03 20:39Z1 YR AGO
- Reserved
- 2025-03-28
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.3)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- Data version
- 5.1
- Document digest
- 34535a2c45dad1cd7d45806210e9c395d88a0b2f0d41f94c9371a07b63207c68
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x
- github.comhttps://github.com/vitejs/vite/commit/62d7e81ee189d65899bb65f3263ddbd85247b647
- github.comhttps://github.com/vitejs/vite/blob/037f801075ec35bb6e52145d659f71a23813c48f/packages/vite/src/node/plugins/asset.ts#L285-L290