HighGHSA-25mp-g6fv-mqxxCVE-2021-43803

Unexpected server crash in Next.js.

Published 7 Dec 2021 · Updated 8 Jul 2026

Is your project on an affected next?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Affected packages

nextnpm
Affected
>=12.0.0 <12.0.5
Fixed in
12.0.5
Update to the fixed version for your release line, for example:npm install next@12.0.5
nextnpm
Affected
>=0.9.9 <11.1.3
Fixed in
11.1.3
Update to the fixed version for your release line, for example:npm install next@11.1.3

Details

Next.js is a React framework. In versions of Next.js prior to 12.0.5 or 11.1.3, invalid or malformed URLs could lead to a server crash. In order to be affected by this issue, the deployment must use Next.js versions above 11.1.0 and below 12.0.5, Node.js above 15.0.0, and next start or a custom server. Deployments on Vercel are not affected, along with similar environments where invalid requests are filtered before reaching Next.js. Versions 12.0.5 and 11.1.3 contain patches for this issue. Note that prior version 0.9.9 package next hosted a different utility (0.4.1 being the latest version of that codebase), and this advisory does not apply to those versions.

Is GHSA-25mp-g6fv-mqxx in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected next, and gives you the command that fixes it.

More advisories for next

  • CriticalGHSA-673q-mjm6-r5xrNext.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays · 22 Oct 2026
  • MediumCVE-2026-103004next.js cache leak across root param values in nested 'use cache' functions · 22 Oct 2026
  • CriticalGHSA-2464-fhr4-w9xwNext.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used · 22 Oct 2026
  • HighCVE-2026-94482Next.js: Denial of Service in App Router using Server Actions · 22 Oct 2026
  • MediumCVE-2026-94544Next.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pages · 7 Oct 2026
  • MediumCVE-2026-94543Next.js has cache poisoning of SSG and ISR pages in self-hosted applications · 7 Oct 2026
All 77 advisories for next

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.