Skip to content

Upgrade vite 5 → 6 (esbuild 0.25) for dev-server CVE fixes - #3

Merged
sminot merged 1 commit into
mainfrom
chore/vite-6-upgrade
Jul 21, 2026
Merged

Upgrade vite 5 → 6 (esbuild 0.25) for dev-server CVE fixes#3
sminot merged 1 commit into
mainfrom
chore/vite-6-upgrade

Conversation

@sminot

@sminot sminot commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Clears the 4 remaining Dependabot alerts — all dev-server-only (the deployed image serves the static nginx build, so the vite dev server never runs in prod):

Package Alert Fix
esbuild GHSA-67mh-4wv8-2f99 — dev server accepts cross-origin requests 0.21.5 → 0.25.12 (pulled by vite 6)
vite GHSA-4w7w-66w2-5vf9 — path traversal in optimized-deps .map handling 6.4.3
vite GHSA-fx2h-pf6j-xcffserver.fs.deny bypass (Windows-only) 6.4.3
vite GHSA-v6wh-96g9-6wx3 — launch-editor NTLMv2 disclosure (Windows-only) 6.4.3

Changes

  • vite ^5.4.8^6.4.3, @vitejs/plugin-react ^4.3.1^4.7.0
  • Both vite configs (vite.config.ts, vite.app.config.ts) use stable APIs — no config changes needed.

Verification

  • npm audit: 0 vulnerabilities
  • npm run build (SPA) and npm run build:app (viewer bundle → dist-app/viewer/1.1.2/app.js) both pass
  • vite 6 dev server boots; app loads, opens a checkpoint, renders image tiles + cell points, no console errors

🤖 Generated with Claude Code

Clears the 4 remaining Dependabot alerts, all dev-server-only (not present in
the deployed nginx-served build):
  - esbuild GHSA-67mh-4wv8-2f99 (dev server accepts cross-origin requests) via
    esbuild 0.21 -> 0.25.12, pulled by vite 6
  - vite GHSA-4w7w-66w2-5vf9 (path traversal in optimized-deps .map handling)
  - vite GHSA-fx2h-pf6j-xcff, GHSA-v6wh-96g9-6wx3 (Windows-only fs.deny bypass
    and launch-editor NTLMv2 disclosure)

vite ^5.4.8 -> ^6.4.3, @vitejs/plugin-react ^4.3.1 -> ^4.7.0. Both vite configs
use stable APIs; no config changes needed. npm audit reports 0 vulnerabilities.

Verified: npm run build (SPA) and npm run build:app (viewer bundle) both pass;
vite 6 dev server boots and the app loads, opens a checkpoint, and renders the
image tiles + cell points with no console errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sminot
sminot merged commit c5c9ec9 into main Jul 21, 2026
2 checks passed
@sminot
sminot deleted the chore/vite-6-upgrade branch July 21, 2026 22:04
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.

1 participant