SB2025051603 - Cache poisoning in Next.js
Published: May 16, 2025 Updated: November 28, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Race condition (CVE-ID: CVE-2025-32421)
The vulnerability allows a remote attacker to gain access to sensitive information or perform spoofing attack.
The vulnerability exists due to a race condition within the Pages Router. A remote attacker can exploit the race and obtain pageProps data instead of standard HTML code and poison the CDN cache by injecting the response body from a non-cacheable data request (?__nextDataRequest=1) into a normal request that retains cacheable headers, such as Cache-Control: public, max-age=300.
Remediation
Install update from vendor's website.