fix(deps): bump vulnerable frontend npm packages - #60
Merged
Conversation
Resolve Dependabot alerts in frontend/package-lock.json. Direct deps (package.json): - vite ^8.0.0 -> ^8.1.5 (server.fs.deny bypass, WS arbitrary file read, optimized-deps .map traversal, launch-editor NTLMv2 disclosure) - react-router-dom ^7.13.1 -> ^7.18.2 (turbo-stream RCE, single-fetch & __manifest DoS, open redirects, XSS, CSRF) Transitive (npm update): - postcss 8.5.8 -> 8.5.25 - @babel/core 7.29.0 -> 7.29.7 - dompurify 3.4.11 -> 3.4.12 - js-yaml 4.1.1 -> 4.3.0 - brace-expansion 1.1.12 -> 1.1.18, 5.0.4 -> 5.0.9 - picomatch 4.0.3 -> 4.0.5 - flatted 3.4.1 -> 3.4.4 Alert #53 (RSC-mode CSRF, patched only in react-router 8.3.0) is not addressed: react-router-dom has no 8.x release and this SPA uses client-side BrowserRouter, not RSC mode, so the issue is not applicable. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Reviews (1): Last reviewed commit: "fix(deps): bump vulnerable frontend npm ..." | Re-trigger Greptile |
DjamilaBaroudi
approved these changes
Aug 6, 2026
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.
Resolves Dependabot alerts in
frontend/package-lock.json.Direct dependencies (
package.json)viteserver.fs.denybypass (queries / Windows alt paths), arbitrary file read via dev-server WebSocket, optimized-deps.mappath traversal, transitivelaunch-editorNTLMv2 disclosurereact-router-dom__manifestDoS, protocol-relative / backslash open redirects, prerender & RSC-redirect XSS, PUT/PATCH/DELETE CSRFTransitive dependencies (
npm update)postcss@babel/coredompurifyjs-yamlbrace-expansionpicomatchflattedNot addressed
formatas a legacy alias fornumber#53 — React Router RSC-mode CSRF, patched only inreact-router8.3.0.react-router-domhas no 8.x release (v8 collapsed into thereact-routerpackage), and this SPA uses client-sideBrowserRouter/HashRouter, not RSC mode, so the vulnerability is not applicable. Closing it would require migrating offreact-router-domtoreact-routerv8.Verification
npm run buildpassesnpm run typecheck(tsc -b) passesnpm run lint— 0 errors (14 pre-existing warnings, unrelated)🤖 Generated with Claude Code