next is vulnerable to Cache Poisoning
63
CVE Score
Medium
Cache Poisoning
In self-hosted next start applications with Cache Components enabled and Partial Prefetching disabled or unset, an unauthenticated request with a crafted URL can store request-specific values in a page shell that is shared with other URLs. This leads to incorrect server-rendered content or persistent 404 responses for other users until the shell is revalidated. The fix stops request-supplied placeholder route params from being written into the shared fallback shell.
Upgrade the next library to the patch version or set partialPrefetching: true in next.config.
You are affected if you are using a version that falls within the vulnerable range, self-host with next start, have Cache Components enabled with Partial Prefetching disabled or unset, and have a route with a prerenderable dynamic parameter, at least two deeper parameters that are never prerendered and a blocking fallback shell, where a layout reads the shallower of those deeper parameters inside a Suspense boundary.
16.4.0 - 16.4.4
Fixed in 16.4.5next is vulnerable to Cache Poisoning in versions 16.4.0 - 16.4.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.