What happened
In apps that use Cache Components or "use cache", one user's or tenant's cached page could be served to someone else. On edge routes, HttpOnly cookie values could leak to same-origin JavaScript through the x-middleware-set-cookie header, and a disguised image could get past dangerouslyAllowSVG: false.
It follows several other Next.js security releases since August 2026, including critical remote code execution fixes. Self-hosted apps that skipped any of them should go straight to the latest release.
What to do
- Install next@16.4.5 (or next@15.5.29 on the 15 line), rebuild and redeploy.
- If you cache personalised pages, check that per-user data never goes into a shared cache entry.
