Skip to content

chore: Update dependencies to fix security vulnerabilities#746

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778604091-dependency-updates
Open

chore: Update dependencies to fix security vulnerabilities#746
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778604091-dependency-updates

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented May 12, 2026

Summary

Updates all patch and minor dependencies across backend and frontend to address 27 security vulnerabilities (14 backend, 13 frontend). After updates: frontend has 0 vulnerabilities, backend has 7 remaining (all tied to sqlite3@5.x transitive deps requiring a major upgrade to resolve).

Backend — Patch Updates

Package Before After
cors 2.8.5 2.8.6
express 4.22.1 4.22.2
jsonwebtoken 9.0.2 9.0.3
nodemon (dev) 3.1.11 3.1.14

Frontend — Patch Updates

Package Before After
@eslint/js 9.39.1 9.39.4
@types/react 19.2.7 19.2.14
eslint 9.39.1 9.39.4
react 19.2.0 19.2.6
react-dom 19.2.0 19.2.6

Frontend — Minor Updates (Security-Critical)

Package Before After CVEs Fixed
axios 1.13.2 1.16.0 16 (SSRF, prototype pollution, header injection, DoS)
react-router-dom 7.10.0 7.15.0 2 (XSS via open redirects, SSR XSS)
vite 7.2.6 7.3.3 3 (path traversal, fs.deny bypass, WebSocket file read)

Frontend — Minor Updates (Non-Security)

Package Before After
@mui/icons-material 7.3.6 7.3.11
@mui/material 7.3.6 7.3.11
@mui/x-date-pickers 8.19.0 8.28.5
@tanstack/react-query 5.90.11 5.100.10
@types/node 24.10.1 24.12.4
@vitejs/plugin-react 5.1.1 5.2.0
eslint-plugin-react-hooks 7.0.1 7.1.1
eslint-plugin-react-refresh 0.4.24 0.4.26
typescript-eslint 8.48.1 8.59.3

Intentionally Skipped (Major Versions)

These require breaking changes/code migration and were not included:

  • express 5.x, express-rate-limit 8.x, helmet 8.x, jest 30.x, joi 18.x, pdfkit 0.18.x, sqlite3 6.x, supertest 7.x
  • @mui 9.x, @vitejs/plugin-react 6.x, globals 17.x, typescript 6.x, vite 8.x

Test Results

  • All 161 backend tests pass
  • Frontend lint: clean
  • Frontend build: successful

Review & Testing Checklist for Human

  • Verify the app starts correctly (cd backend && npm run dev, cd frontend && npm run dev)
  • Spot-check core workflows: login, create client, create work entry, generate report

Notes

  • Backend still has 7 vulnerabilities from sqlite3@5.x transitive dependencies (tar, @tootallnate/once). These require upgrading sqlite3 to v6 (major) which may have breaking native module changes.
  • The eslint-visitor-keys engine warning (^20.19.0 || ^22.13.0 || >=24 vs current v22.12.0) is cosmetic and doesn't affect functionality.

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/f4391723a8ae42f9be218dd3eee496cb


Open in Devin Review

Backend (patch):
- cors 2.8.5 → 2.8.6
- express 4.22.1 → 4.22.2
- jsonwebtoken 9.0.2 → 9.0.3
- nodemon 3.1.11 → 3.1.14

Frontend (patch):
- @eslint/js 9.39.1 → 9.39.4
- @types/react 19.2.7 → 19.2.14
- eslint 9.39.1 → 9.39.4
- react 19.2.0 → 19.2.6
- react-dom 19.2.0 → 19.2.6

Frontend (minor):
- axios 1.13.2 → 1.16.0 (fixes 16 CVEs)
- react-router-dom 7.10.0 → 7.15.0 (fixes XSS CVEs)
- vite 7.2.6 → 7.3.3 (fixes 3 high CVEs)
- @mui/icons-material 7.3.6 → 7.3.11
- @mui/material 7.3.6 → 7.3.11
- @mui/x-date-pickers 8.19.0 → 8.28.5
- @tanstack/react-query 5.90.11 → 5.100.10
- @types/node 24.10.1 → 24.12.4
- @vitejs/plugin-react 5.1.1 → 5.2.0
- eslint-plugin-react-hooks 7.0.1 → 7.1.1
- eslint-plugin-react-refresh 0.4.24 → 0.4.26
- typescript-eslint 8.48.1 → 8.59.3

Transitive fixes via npm audit fix applied to both.
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

0 participants