Skip to content

Fix #316: Resolve Vite security vulnerabilities#319

Merged
Mosas2000 merged 1 commit intomainfrom
fix/resolve-npm-audit-vite
Apr 9, 2026
Merged

Fix #316: Resolve Vite security vulnerabilities#319
Mosas2000 merged 1 commit intomainfrom
fix/resolve-npm-audit-vite

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Summary

Resolves three critical Vite security vulnerabilities affecting the development environment.

Vulnerabilities Fixed

  1. Path Traversal in Optimized Deps .map Handling - GHSA-4w7w-66w2-5vf9
  2. server.fs.deny Bypass with Queries - GHSA-v2wj-q39q-566r
  3. Arbitrary File Read via Dev Server WebSocket - GHSA-p9ff-h696-f583

Changes

  • Updated Vite to latest stable version via npm audit fix
  • All 1802 tests passing (1711 frontend + 91 contract)
  • npm audit: 0 vulnerabilities remaining

Impact

  • Eliminates dev server attack surface
  • Prevents file disclosure through WebSocket
  • Blocks query-based fs.deny bypasses

Partially resolves #316 (Vite vulnerabilities fully resolved).

Update Vite to latest stable version to resolve three critical security
vulnerabilities:
- CVE: Vite Vulnerable to Path Traversal in Optimized Deps .map Handling
- CVE: Vite server.fs.deny bypassed with queries
- CVE: Vite Vulnerable to Arbitrary File Read via Dev Server WebSocket

All tests passing: 1711 frontend + 91 contract = 1802 total.
npm audit: 0 vulnerabilities remaining.
Fixes #316 (partial - Vite vulnerabilities fully resolved)
@Mosas2000 Mosas2000 merged commit 874d5d0 into main Apr 9, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve remaining npm audit vulnerabilities

1 participant