Packages

@next/eslint-plugin-next

16.4.6 · 9 Nov 2026MIT57.3M / weekRepositoryHomepagenpmAtom feed

Your version

12.0.9

26 Jan 2022Where it was published

12.3.7 is the newest release of 12.x.

In short

2 removed1 deprecated5 new10 fixed29 changed43 internal

  • Removed

    Remove node fetch polyfill from base server

  • Removed

    Removed backticks on data fetching api titles

  • Deprecated

    errors/no-cache: netlify-plugin-cache-nextjs has been deprecated

Release note

This upgrade is completely backward-compatible and recommended for all users on versions below 12.0.9

Vulnerable code could allow a bad actor to trigger a denial of service attack via the /${locale}/_next/ route for anyone running a Next.js app at version >= 12.0.0, and using built-in i18n routing functionality.

How to Upgrade

  • We have released patch versions for both the stable and canary channels of Next.js.

  • To upgrade run npm install next@latest --save

Impact

  • Affected: All of the following must be true to be affected by this CVE

    • Next.js versions between v12.0.0 and v12.0.9

    • Using next start or a custom server

    • Using the built-in i18n support

  • Not affected:

    • Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

How to Assess Impact

If your server has seen requests to any route under the prefix /${locale}/_next/ that have triggered a heap overflow error, this was caused by the patched issue.

What is Being Done

As Next.js has grown in popularity and usage by enterprises, it has received the attention of security researchers and auditors. We are thankful to our users for their investigation and responsible disclosure of the original bug.

We've landed a patch that ensures this is handled properly so the requested route no longer crashes and triggers a heap overflow.

Regression tests for this attack were added to the i18n integration test suite

  • A public CVE was released.

  • We encourage responsible disclosure of future reports. Please email us at security@vercel.com. We are actively monitoring this mailbox.

Core Changes

  • middlewares: Limit process.env to inferred usage

  • Update webpack

  • Abstract out native filesystem usage from the base server

  • Use text data url instead of base64 for shorter encoding

  • Fix global process testing for the process polyfill

  • Update swc

  • Improve full refresh overlay

  • Custom app for server components

  • Update yarn PnP tests and disable swc file reading for PnP

  • Base Http for BaseServer

  • Update swc

  • Update check for fallback pages during export

  • Pre-compile more dependencies

  • Removed

    Remove node fetch polyfill from base server

  • Replace regexp to plain string for optimization render HTML

  • Fix broken html on streaming render for error page

  • Disable cache for rsc pages

  • Fix pre-compiled check from copying react-refresh-utils

  • next-swc: Update swc

  • Move middleware handling to node server

  • Enforce absolute URLs in Edge Functions runtime

  • next-swc: Update swc

  • Update main field for nccd jest-worker

  • Move static serving to next server

  • next-swc: Update swc

  • Fix multiple calls to image onLoadingComplete()

  • Refactor base server to remove native dependencies

  • Update swc

  • Implement abstract methods to get manifest files in the base server

  • Simplify getMiddlewareInfo calls

  • Fix static file check with i18n

  • Bump styled-jsx

  • Ensure optional value normalizing is correct for index

  • Add next-multilingual example

  • Removed the s from NextConfig

  • next-swc: Update swc

  • Fix rsc export component name detection

  • Upgrade webpack

  • Ensure fetch polyfill is loaded in next-server

  • next-swc: Update swc

  • Add lazyRoot optional property to next/image component

  • next-swc: Update swc

  • Implement web server as the request handler for edge SSR

  • Relay Support in Rust Compiler

  • Revert "Relay Support in Rust Compiler"

Documentation Changes

  • Removed

    Removed backticks on data fetching api titles

  • Deprecated

    errors/no-cache: netlify-plugin-cache-nextjs has been deprecated

Misc Changes

  • Add link to security email directly.

  • Fix getServerSideProps hanging in dev on early end

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.