Next.js: Cache poisoning of SSG and ISR pages in self-hosted Next.js applications
CVE-2026-94543Published 2 Oct 2026, 15:16 UTC
Real-world risk
0.5/ 10Low
Routine
If the vulnerable configuration applies to you: 1.1
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.27 and 16.3.8, self-hosted applications using the Pages Router with statically generated or Incremental Static Regeneration pages can key a response cache entry without sufficiently binding it to the source route. A request can replace one page's cache entry with content from a different route, causing the affected page to serve incorrect content to every visitor until revalidation. Applications deployed on Vercel are not affected. This issue is fixed in versions 15.5.27 and 16.3.8.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Next.jsUbiquitous | >= 15.0.0, < 15.5.27; >= 16.0.0, < 16.3.8 | 15.5.27, 16.3.8 |
What to do
Update to a fixed version: 15.5.27, 16.3.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 45), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.2025 × threat 0.850.516
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 2 Oct 2026 Published
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-524
References
- https://github.com/vercel/next.js/security/advisories/GHSA-4jqv-mc3x-m676vendor-advisory
- https://github.com/vercel/next.js/commit/52c94abdd2ea5f416f5e8353ea8a2edd3fe311b8misc
- https://github.com/vercel/next.js/commit/719e4c67d6e92df60246f95e1d96e2dd60789a52misc
- https://github.com/vercel/next.js/releases/tag/v15.5.27misc
- https://github.com/vercel/next.js/releases/tag/v16.3.8misc
- CVE-2026-94543 on CVE.org