v16.4.5
Security 7
- Fixed cross-tenant sensitive information disclosure in 'use cache' when called through unstable_cache
- Fixed cache leak across root param values in nested 'use cache' functions
- Fixed cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params
- Fixed cross-user cache disclosure and poisoning in use cache with binary arguments
- Fixed cross-client response injection and disclosure in self-hosted applications forwarding fetched responses
- Fixed SVG rejection bypass in image optimization
- Fixed HttpOnly cookie exposure through internal response header on Edge runtime routes
From Next.js
This release contains security fixes for the following advisories:
Moderate
- Cross-tenant sensitive information disclosure in Next.js 'use cache' when called through unstable_cache
- Cache leak across root param values in nested 'use cache' functions (follow-up)
- Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params
- Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments
- Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses
- SVG rejection bypass in Next.js image optimization
- HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes