Frontend framework

Next.js: supported versions and open vulnerabilities today

Next.js 16 and 15 are supported (15 until Jan 31, 2027); 14 reached end of life on Oct 26, 2025; the latest release is 16.4.6. 23 high or critical advisories for Next.js were published in the last 12 months; one advisory (CVE-2025-55182) is on CISA’s list of vulnerabilities exploited in the wild.

Last checked against endoflife.date, npm, OSV.dev, CISA KEV, FIRST EPSS and deps.dev.

Latest release
16.4.6
npm downloads last week
81.9M
GitHub stars
143.7k
Licence
MIT
OpenSSF Scorecard
6.2 / 10

Supported versions

Next.js release lines and security support dates from endoflife.date
VersionSecurity supportLatestReleased
Next.js 16LTSSupported: Until 16.4.6
Next.js 15LTSEnding soon: Until 15.5.29
Next.js 14LTSEnded: Ended 14.2.35
Next.js 13Ended: Ended 13.5.11
Next.js 12Ended: Ended 12.3.7

Security advisories

OSV.dev, CISA KEV and FIRST EPSS

55 advisories published in the last 12 months, 23 of them high or critical. 84 in total since records began. Checked packages: next.

  • CriticalCVE-2025-55182Published

    Next.js is vulnerable to RCE in React flight protocol

    Fixed in 15.3.6, 15.4.8, 15.5.7 and 16.0.7.

    Exploited in the wild (CISA)Used in ransomwareEPSS: top 1%
  • CriticalCVE-2026-96889Published

    Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used

    Fixed in 15.5.28 and 16.4.1.

    EPSS: top 34%
  • CriticalGHSA-673q-mjm6-r5xrPublished

    Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays

    Fixed in 16.4.1.

  • HighCVE-2026-94482Published

    Next.js: Denial of Service in App Router using Server Actions

    Fixed in 15.5.28 and 16.4.1.

    EPSS: top 65%
  • HighCVE-2026-94483Published

    Next.js has Server-Side Request Forgery in Image Optimization

    Fixed in 16.3.8.

    EPSS: top 71%
  • CriticalGHSA-vcvr-r3jv-pc5jPublished

    Next.js: Remote Code Execution in next/og ImageResponse

    Fixed in 16.3.6.

  • CriticalGHSA-2xp9-vwfh-vxw4Published

    Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are used

    Fixed in 15.5.24 and 16.3.3.

  • CriticalCVE-2026-75604Published

    Next.js: Unauthenticated Remote Code Execution on windows-hosted servers

    Fixed in 15.5.24 and 16.3.3.

    EPSS: top 2%

All next advisories on OSV.dev

Maintenance and supply chain

OpenSSF Scorecard 6.2 / 10 (scored )

The Scorecard rates the repository’s security practices, not known vulnerabilities. Recent activity: 30 commits and 4 issue updates found in the last 90 days.

Weakest checks

  • Over-privileged CI tokens (Token-Permissions 0/10)
  • Binaries checked into the repo (Binary-Artifacts 0/10)
  • No static analysis (SAST 0/10)

Full ScorecardSource repository

Production checklist

Next.js production checklist: 7 checks before launch

  • Must do: Check auth in every Server Action and Route Handler, not only in middleware
  • Must do: Never put secrets in NEXT_PUBLIC_ variables
  • Must do: Stay on a supported Next.js line with the latest patch
See all 7 checks with how to verify each

Alternatives

  • Nuxt

    Full-stack Vue framework for server-rendered and static web apps

    Strengths

    • Server-side rendering and static generation
    • File-based routing

    Trade-offs

    • Vue-only
    • Smaller ecosystem than React-based frameworks
    Nuxt health today

Check Next.js in your own stack

This page checks Next.js in general. Your repo pins specific versions: the free dependency check reads your manifests and lists what to fix first. Prism Agent runs the same live checks on your whole stack and turns them into a plan your coding agent can build.