MEDIUM 5.3 npm

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

GHSA-4jqv-mc3x-m676 · CVE-2026-94543

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes