Commit 4be1587
security: update Next.js to 15.5.18 to address critical vulnerabilities (#1507)
Updates Next.js from 15.5.15 to 15.5.18 to patch multiple high-severity
security vulnerabilities disclosed in May 2026:
- CVE-2025-66478: Middleware/Proxy bypass via dynamic route parameter
injection (CVSS 8.1) - affected versions 15.4.0-15.5.15
- DoS via connection exhaustion in Cache Components (CVSS 7.5) -
affected versions 15.0.0-15.5.15
- 5 additional high-severity issues including DoS with Server Components,
middleware bypasses, and SSRF in WebSocket upgrades
Also updates related packages:
- @next/mdx: 15.5.5 → 15.5.18
- eslint-config-next: 15.5.9 → 15.5.18
All security patches are included in version 15.5.16+. This update to
15.5.18 ensures the latest fixes and improvements.
Build verified successfully with no breaking changes.
References:
- GHSA-492v-c6pp-mqqv
- GHSA-mg66-mrh9-m8jx
- https://github.com/vercel/next.js/releases/tag/v15.5.16
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 208af3e commit 4be1587
2 files changed
Lines changed: 520 additions & 270 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments