ID:12148 - Exploit for Race condition in Next.js - CVE-2025-32421
Published: November 28, 2025
Next.js
Link to public exploit:
Vulnerability description
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.