CVE-2025-32421

Next.js Race Condition to Cache Poisoning

Next.js is a React framework for building full-stack web applications. Versions prior to 14.2.24 and 15.1.6 have a race-condition vulnerability. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve `pageProps` data instead of standard HTML. This issue was patched in versions 15.1.6 and 14.2.24 by stripping the `x-now-route-matches` header from incoming requests. Applications hosted on Vercel's platform are not affected by this issue, as the platform does not cache responses based solely on `200 OK` status without explicit `cache-control` headers. Those who self-host Next.js deployments and are unable to upgrade immediately can mitigate this vulnerability by stripping the `x-now-route-matches` header from all incoming requests at the content development network and setting `cache-control: no-store` for all responses under risk. The maintainers of Next.js strongly recommend only caching responses with explicit cache-control headers.


We have discovered 464 live websites that are affected by CVE-2025-32421.

Run a Free Instant Scan




Affected Software

Product  Next.js
Category Web Application Frameworks
Vulnerable Domains464 live websites (100% of Next.js install base)
Vulnerable Versions
  • from 0 through 14.2.24
  • from 15 through 15.1.6
Vulnerable Versions Count15 versions ( 100% of all versions)


Common Weakness Enumeration

CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')



Details

  • Published - May 14, 2025
  • Updated - May 15, 2025

Website Distribution by Country

Number of websites using CVE-2025-32421
United States202 websites



China38 websites
France25 websites
Russia18 websites
Korea, South16 websites
Germany15 websites
Italy11 websites
Czech Republic10 websites
Denmark10 websites
Thailand9 websites

Website Distribution by TLD

Number of websites using CVE-2025-32421
.com243 websites
.org20 websites
.net18 websites
.cz11 websites
.dk11 websites
.ru9 websites
.com.br8 websites
.it7 websites
.co7 websites
.fr7 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2025-32421

Top websites that are affected by CVE-2025-32421. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
********.com China**,***
********.***********.com Italy**,***
*************.com United States***,***
**********.it Italy***,***
***********.it Italy***,***
**********.com United States***,***
****.com United States***,***
*******.***********.com Italy***,***
******.info China***,***
******************.com United States***,***
See full domain list

FAQ

CVE-2025-32421 is Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in Next.js
A total of 464 websites have been identified as vulnerable to CVE-2025-32421, based on global website indexing conducted by WebTechSurvey.
The Next.js is affected by the CVE-2025-32421 vulnerability.
Next.js versions up to 15.1.6 are vulnerable to CVE-2025-32421.
CVE-2025-32421 is resolved in version 15.1.6 of Next.js.