Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5, applications that rely on middleware to protect dynamic routes can be vulnerable to authorization bypass. In affected deployments, specially crafted query parameters can alter the dynamic route value seen by the page while leaving the visible path unchanged, which can allow protected content to be rendered without passing the expected middleware check. This vulnerability is fixed in 15.5.16 and 16.2.5.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NVercel Next.js
APPVercel15.4.0 – 15.5.16 (excl.)16.0.0 – 16.2.5 (excl.)
Related vulnerabilities
RCE bez uwierzytelnienia w React Server Components (deserializacja)
Pominięcie autoryzacji w middleware Next.js przez nagłówek x-middleware-subrequest
Vercel Next.js — nadmierne zużycie CPU przez spreparowane żądania (DoS)
Ominięcie uwierzytelniania middleware w Next.js App Router z Turbopack
Next.js: SSRF i Open Redirect przez niekontrolowane reguły rewrites/redirects