What’s Vulnerable › Vulnerabilities

CVE-2025-49826: Next.js DoS vulnerability via cache poisoning

Description

Next.js is a React framework for building full-stack web applications. From versions 15.0.4-canary.51 to before 15.1.8, a cache poisoning bug leading to a Denial of Service (DoS) condition was found in Next.js. This issue does not impact customers hosted on Vercel. Under certain conditions, this issue may allow a HTTP 204 response to be cached for static pages, leading to the 204 response being served to all users attempting to access the page. This issue has been addressed in version 15.1.8.

Affected products

How to fix

Upgrade to a fixed version: Next.js 15.1.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-49826 or the next vulnerability affects your stack