Skip to content

Next.js version has published security advisories

Reads the Next.js version your site serves from its public JavaScript and compares it with critical and high security advisories published for Next.js, such as the October 2026 remote code execution flaws in image optimisation and `use cache`. This is a version check, not an exploit test. Some advisories only apply when a specific feature is used.

Why this matters

Several 2026 Next.js flaws let an attacker run code on the server without logging in, and public exploit code exists for some of them. Sites stay exposed until they upgrade and redeploy, even when the hosting platform blocks some attacks.

How to fix it

Upgrade Next.js to the latest patched release on your line (16.4.5 or 15.5.29 at the time of writing), rebuild and redeploy. Check each listed advisory's conditions to judge urgency. For App Router sites, also confirm your release includes the React fix for CVE-2026-126187.

Turn website findings into an action plan

Create an account to start a Full Audit of your website, with supporting evidence and a prioritised action plan.

Start Full Audit