GHSA-5j59-xgg2-r9c4 — Vulnerability in next — Advisory Details
Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up
Does your project use an affected next version?
Paste your package-lock.json to check it for GHSA-5j59-xgg2-r9c4 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
It was discovered that the fix for CVE-2025-55184 in React Server Components was incomplete and did not fully mitigate denial-of-service conditions across all payload types. As a result, certain crafted inputs could still trigger excessive resource consumption.
This vulnerability affects React versions 19.0.2, 19.1.3, and 19.2.2, as well as frameworks that bundle or depend on these versions, including Next.js 13.x, 14.x, 15.x, and 16.x when using the App Router. The issue is tracked upstream as CVE-2025-67779.
A malicious actor can send a specially crafted HTTP request to a Server Function endpoint that, when deserialized, causes the React Server Components runtime to enter an infinite loop. This can lead to sustained CPU consumption and cause the affected server process to become unresponsive, resulting in a denial-of-service condition in unpatched environments.
Advisory Timeline
- First published December 12, 2025 (349 days ago).
- Last revised September 10, 2026 — 271 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install next@15.1.11
npm install next@15.5.9
npm install next@15.4.10
npm install next@15.2.8
npm install next@15.6.0-canary.60
npm install next@15.0.7
npm install next@16.1.0-canary.19
npm install next@14.2.35
npm install next@15.3.8
npm install next@16.0.10
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (10)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| next npm · Affected: All versions | 15.1.11 |
| next npm · Affected: All versions | 15.5.9 |
| next npm · Affected: All versions | 15.4.10 |
| next npm · Affected: All versions | 15.2.8 |
| next npm · Affected: All versions | 15.6.0-canary.60 |
| next npm · Affected: All versions | 15.0.7 |
| next npm · Affected: All versions | 16.1.0-canary.19 |
| next npm · Affected: All versions | 14.2.35 |
| next npm · Affected: All versions | 15.3.8 |
| next npm · Affected: All versions | 16.0.10 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/vercel/next.js/security/advisories/GHSA-5j59-xgg2-r9c4WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67779ADVISORY
- https://github.com/vercel/next.jsPACKAGE
- https://nextjs.org/blog/security-update-2025-12-11WEB
- https://react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-componentsWEB
- https://www.cve.org/CVERecord?id=CVE-2025-55184WEB
- https://www.facebook.com/security/advisories/cve-2025-67779WEB
Frequently Asked Questions
- What is GHSA-5j59-xgg2-r9c4?
- Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up. This vulnerability has been assigned a severity rating of HIGH.
- How do I check if my project is affected by GHSA-5j59-xgg2-r9c4?
- GHSA-5j59-xgg2-r9c4 affects next. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-5j59-xgg2-r9c4 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Related CVEs
- CVE-2026-64642HIGH
Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale
- CVE-2026-64649HIGH
Next.js: Server-Side Request Forgery in Server Actions on custom servers
- GHSA-8h8q-6873-q5fjHIGH
Next.js Vulnerable to Denial of Service with Server Components
- CVE-2026-44578HIGH
Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades
- CVE-2026-94483HIGH
Next.js has Server-Side Request Forgery in Image Optimization
- CVE-2024-56332MEDIUM
Next.js Allows a Denial of Service (DoS) with Server Actions
- CVE-2026-64643MEDIUM
Next.js: Unauthenticated disclosure of internal Server Function endpoints
- CVE-2025-59471MEDIUM
Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration