Skip to main content
Menu
Advisories

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

GHSA-4JQV-MC3X-M676Published Updated GitHub

Description

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 versions

References