CVE-2021-43803Vercel Next.js
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Vercel · Vercel Next.js We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 3.1
- 7.5
- EPSS
- 47.3% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Dec 10, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Next.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | next |
≥ 12.0.0 < 12.0.5 |
12.0.5 |
npm install next@12.0.5 |
| npm | next |
≥ 0.9.9 < 11.1.3 |
11.1.3 |
npm install next@11.1.3 |
Per OSV / GitHub Advisories (GHSA-25mp-g6fv-mqxx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vercel | next.js | ≥ 11.1.0 < 11.1.3 |
| vercel | next.js | ≥ 12.0.0 < 12.0.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory