fix(dashboard): patch vite/vitest CVEs including critical vitest RCE - #173
Merged
Conversation
…ical vitest RCE Bumps vite 5.3.1 -> 8.2.0 and vitest 1.6.0 -> 4.1.10, resolving: - GHSA-5xrq-8626-4rwp (critical, vitest UI arbitrary file read/execute) - GHSA-fx2h-pf6j-xcff (high, vite server.fs.deny bypass on Windows) - GHSA-4w7w-66w2-5vf9 / GHSA-v6wh-96g9-6wx3 (moderate, vite path traversal / NTLM hash disclosure) - GHSA-67mh-4wv8-2f99 (moderate, esbuild dev server request forgery) Also picked up non-breaking fixes for brace-expansion, js-yaml, and postcss. npm audit now reports 0 vulnerabilities. Verified tsc build, vite build, 124 vitest tests, and eslint all pass unchanged after the bump. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…mpat vite 8 requires @vitejs/plugin-react ^6.0.0; the prior 4.x pin only supported up to vite 7 and failed npm ci in CI (ERESOLVE). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
N-thnI
force-pushed
the
fix/dashboard-vite-vitest-cve
branch
from
August 5, 2026 11:38
c7482cc to
eba5e6a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vite5.3.1 -> 8.2.0 andvitest1.6.0 -> 4.1.10 (major), plus non-breaking patches forbrace-expansion,js-yaml, andpostcss.npm auditnow reports 0 vulnerabilities indashboard.Test plan
tsc && vite buildsucceeds, same output shapevitest run— 124/124 tests pass, unchangedeslint . --max-warnings 0— clean