ADVISORIES

GitHub Advisory Database

GHSA-4jqv-mc3x-m676

Next.js has cache poisoning of SSG and ISR pages in self-hosted applications

Moderate CVE-2026-94543

Details

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.

Affected packages

EcosystemPackageAffected versions
npmnext
From 15.0.0 before 15.5.27 (fixed in 15.5.27)
npmnext
From 16.0.0 before 16.3.8 (fixed in 16.3.8)

References