fix: 🔒 update next version to 15.5.9 to mitigate security issues #1492
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.
I've updated the Next version from
15.5.7to15.5.9to mitigate the following CVEs:Greptile Overview
Greptile Overview
Greptile Summary
This PR updates Next.js from version 15.5.7 to 15.5.9 across three package.json files to mitigate three CVEs: CVE-2025-55184 (DoS via malicious HTTP request), CVE-2025-55183 (Server Action source code exposure), and CVE-2025-67779 (Incomplete fix for CVE-2025-55184). The changes are straightforward version bumps in the dependencies section of:
apps/web/package.json- Updated Next.js dependencypackages/database/package.json- Updated Next.js dependencypackages/web-backend/package.json- Updated Next.js dependencyHowever, there is a version consistency issue: the
eslint-config-nextdevDependency inapps/web/package.jsonremains at 15.5.7 and should be updated to 15.5.9 to match the Next.js version. Theeslint-config-nextpackage is versioned alongside Next.js and should be kept in sync for ESLint rule compatibility and to benefit from the same security fixes.Confidence Score: 3/5
Important Files Changed
File Analysis
Sequence Diagram
sequenceDiagram participant web as apps/web participant db as packages/database participant backend as packages/web-backend participant next as Next.js web->>next: Depends on [email protected] ✓ db->>next: Depends on [email protected] ✓ backend->>next: Depends on [email protected] ✓ web->>next: Depends on [email protected] ✗ (should be 15.5.9) Note over next: CVE-2025-55184, CVE-2025-55183, CVE-2025-67779 fixed in 15.5.9Important Files Changed
File Analysis
Sequence Diagram
sequenceDiagram participant web as apps/web participant db as packages/database participant backend as packages/web-backend participant next as Next.js web->>next: Depends on [email protected] ✓ db->>next: Depends on [email protected] ✓ backend->>next: Depends on [email protected] ✓ web->>next: Depends on [email protected] ✗ (should be 15.5.9) Note over next: CVE-2025-55184, CVE-2025-55183, CVE-2025-67779 fixed in 15.5.9(2/5) Greptile learns from your feedback when you react with thumbs up/down!