MEDIUM5.3
GHSA-4jqv-mc3x-m676
Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
Quick fix
GHSA-4jqv-mc3x-m676 — next: upgrade to the fixed version with the command below.
npm install next@15.5.27Details
Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/vercel/next.js/security/advisories/GHSA-4jqv-mc3x-m676[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-94543[ADVISORY]
- https://github.com/vercel/next.js/commit/52c94abdd2ea5f416f5e8353ea8a2edd3fe311b8[WEB]
- https://github.com/vercel/next.js/commit/719e4c67d6e92df60246f95e1d96e2dd60789a52[WEB]
- https://github.com/vercel/next.js[PACKAGE]
- https://github.com/vercel/next.js/releases/tag/v15.5.27[WEB]
- https://github.com/vercel/next.js/releases/tag/v16.3.8[WEB]