ID:12148 - Exploit for Race condition in Next.js - CVE-2025-32421

 
Main Vulnerability Database Exploits ID:12148 - Exploit for Race condition in Next.js - CVE-2025-32421

ID:12148 - Exploit for Race condition in Next.js - CVE-2025-32421

Published: November 28, 2025


Vulnerability identifier: #VU109239
Vulnerability risk: Low
CVE-ID: CVE-2025-32421
CWE-ID: CWE-362
Exploitation vector: Remote access
Vulnerable software:
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.


Remediation

Install updates from vendor's website.