Repository navigation
Fix vite/esbuild security advisories (REV-37, Dependabot #14–#17) - #40
Merged
Merged
Conversation
Force vite@^6.4.3 via pnpm override to clear four Dependabot alerts coming through vitepress > vite (and vite > esbuild). vite 5.4.21 was the last, EOL, unpatched 5.x release; the fixes only exist in 6.4.3+. - GHSA-fx2h-pf6j-xcff server.fs.deny bypass on Windows (High) vite >=6.4.3 - GHSA-4w7w-66w2-5vf9 path traversal in optimized deps .map vite >=6.4.2 - GHSA-v6wh-96g9-6wx3 launch-editor NTLMv2 disclosure (UNC paths) vite >=6.4.3 - GHSA-67mh-4wv8-2f99 esbuild dev-server request/read esbuild >=0.25.0 vite 6.4.3 depends on esbuild@^0.25.0, so esbuild is bumped 0.21.5 -> 0.25.12 transitively, clearing the esbuild advisory too. Verified: pnpm audit clean, vitepress build succeeds, vitest passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ashirman
approved these changes
Jul 6, 2026
This branch was successfully deployed
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.
Closes REV-37.
Clears all four Dependabot alerts on the docs site, all transitive through
vitepress > vite(andvite > esbuild) inpnpm-lock.yaml.Change
A single
pnpmoverride inpackage.json:Resolves
vite 5.4.21 → 6.4.3and, transitively,esbuild 0.21.5 → 0.25.12.Why
The installed
vite@5.4.21is the final, EOL, unpatched 5.x release. The advisories'<= 6.4.2ranges (introduced at0) sweep in the whole 5.x line, so Dependabot /pnpm auditflag it — but the actual fixes only landed in vite 6.4.3+/7.x/8.x.vitepress@1.6.4(latest stable) pinsvite@^5.4.14, so an override is required. Vite 6.4.3 is the closest major to what vitepress expects, minimizing breakage risk, and it depends onesbuild@^0.25.0— so bumping vite clears the esbuild advisory automatically, no separate esbuild override needed.server.fs.denybypass on Windows alternate paths.maphandlingVerification
pnpm audit→ No known vulnerabilities foundpnpm build(vitepress) → build complete ✅pnpm test(vitest) → 1 passed ✅VitePress 1.6.4 builds cleanly on vite 6 despite its declared
^5peer, so no functional regression.🤖 Generated with Claude Code