Skip to content

fix(deps): bump vulnerable frontend npm packages - #60

Merged
TanayBensuYurtturk merged 1 commit into
mainfrom
deps/frontend-npm-security
Aug 6, 2026
Merged

fix(deps): bump vulnerable frontend npm packages#60
TanayBensuYurtturk merged 1 commit into
mainfrom
deps/frontend-npm-security

Conversation

@TanayBensuYurtturk

Copy link
Copy Markdown
Contributor

Resolves Dependabot alerts in frontend/package-lock.json.

Direct dependencies (package.json)

Package From To Fixes
vite ^8.0.0 ^8.1.5 server.fs.deny bypass (queries / Windows alt paths), arbitrary file read via dev-server WebSocket, optimized-deps .map path traversal, transitive launch-editor NTLMv2 disclosure
react-router-dom ^7.13.1 ^7.18.2 vendored turbo-stream RCE, single-fetch & __manifest DoS, protocol-relative / backslash open redirects, prerender & RSC-redirect XSS, PUT/PATCH/DELETE CSRF

Transitive dependencies (npm update)

Package From To
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 / 5.0.4 1.1.18 / 5.0.9
picomatch 4.0.3 4.0.5
flatted 3.4.1 3.4.4

Not addressed

  • Alert Accept a scalar table-column format as a legacy alias for number #53 — React Router RSC-mode CSRF, patched only in react-router 8.3.0. react-router-dom has no 8.x release (v8 collapsed into the react-router package), and this SPA uses client-side BrowserRouter/HashRouter, not RSC mode, so the vulnerability is not applicable. Closing it would require migrating off react-router-dom to react-router v8.

Verification

  • npm run build passes
  • npm run typecheck (tsc -b) passes
  • npm run lint — 0 errors (14 pre-existing warnings, unrelated)

🤖 Generated with Claude Code

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>
@greptile-apps

greptile-apps Bot commented Aug 6, 2026

Copy link
Copy Markdown

Reviews (1): Last reviewed commit: "fix(deps): bump vulnerable frontend npm ..." | Re-trigger Greptile

@TanayBensuYurtturk
TanayBensuYurtturk merged commit 2aec1e5 into main Aug 6, 2026
2 checks passed
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