Skip to content

Update Vite to 8.3.2 to fix audit advisories - #32

Closed
JesseScott wants to merge 1 commit into
mainfrom
fix-vite-audit
Closed

JesseScott wants to merge 1 commit into
mainfrom
fix-vite-audit

Conversation

@JesseScott

Copy link
Copy Markdown
Owner

Problem

npm audit reported 5 vulnerabilities, including high-severity ones in Vite 8.0.10: a server.fs.deny bypass on Windows alternate paths and a launch-editor NTLMv2 hash disclosure via UNC paths on Windows. Both affect the local dev server (npm run dev), not the deployed site. nanoid and postcss also had advisories.

Changes

  • npm audit fix (no --force): Vite 8.0.10 -> 8.3.2, plus the nanoid and postcss fixes. The lockfile churn is large (about 390 lines) mostly because Vite's bundler (Rolldown) moved from a release candidate to the stable 1.2.12.
  • package.json: raise the Vite floor to ^8.3.2 so a fresh install can't resolve a vulnerable version.

Left alone

2 moderate advisories remain: uuid (v3/v5/v6 missing buffer bounds check when a buffer is provided), pulled in by @owlbear-rodeo/sdk. No fix is available, and it only matters when uuid is called with a caller-supplied buffer, which this app doesn't do. Dependabot should flag it when the SDK updates.

Test plan

  • npm ci, vite build: output still uses the stable assets/app.js / assets/index.css names; with SITE_URL set the manifest still gets absolute icon/popover URLs
  • npm test (11/11) and Playwright UI tests (10/10)
  • Dev server still sends Access-Control-Allow-Origin: https://www.owlbear.rodeo
  • CI green

🤖 Generated with Claude Code

https://claude.ai/code/session_015XHHXZx9cHHvJDDBfEfqka


Generated by Claude Code

npm audit fix: Vite 8.0.10 -> 8.3.2 (server.fs.deny bypass and launch-editor
NTLM hash disclosure on Windows), plus the nanoid and postcss advisories.
Raise the Vite floor in package.json. The remaining uuid advisory comes from
@owlbear-rodeo/sdk and has no fix available.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015XHHXZx9cHHvJDDBfEfqka
@JesseScott JesseScott closed this Oct 4, 2026
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.

2 participants