CVE-2022-21721 in Vercel Next.Js
Next.js is a React framework. Starting with version 12.0.0 and prior to version 12.0.9, vulnerable code could allow a bad actor to trigger a denial of service attack for anyone using i18n functionality. In order to be affected by this CVE, one must use next start or a custom server and the built-in i18n support. Dep...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Vercel | Next.Js | ≥ 12.0.0, < 12.0.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Next.js is a React framework. Starting with version 12.0.0 and prior to version 12.0.9, vulnerable code could allow a bad actor to trigger a denial of service attack for anyone using i18n functionality. In order to be affected by this CVE, one must use next start or a custom server and the built-in i18n support. Deployments on Vercel, along with similar environments where invalid requests are filtered before reaching Next.js, are not affected. A patch has been released, `[email protected]`, that mitigates this issue. As a workaround, one may ensure `/${locale}/_next/` is blocked from reaching the Next.js instance until it becomes feasible to upgrade.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-21721 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-070938-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2022-01-28 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
CVE-2022-21721 affects Next.js versions 12.0.0 to 11.9.9, allowing a bad actor to trigger a denial of service attack when using the built-in i18n functionality with next start or a custom server.
The vulnerability lies in the way Next.js handles internationalization (i18n) requests. An attacker can craft specific requests that lead to excessive resource consumption, resulting in a denial of service.
Questions
What is CVE-2022-21721?
CVE-2022-21721 affects Next.js versions 12.0.0 to 11.9.9, allowing a bad actor to trigger a denial of service attack when using the built-in i18n functionality with next start or a custom server.
What is the CVSS score for CVE-2022-21721?
CVE-2022-21721 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 2.1%.
Is CVE-2022-21721 actively exploited?
No confirmed active exploitation of CVE-2022-21721 as of 2026-09-25.
How do I remediate CVE-2022-21721?
Priority: HIGH.
What systems are affected by CVE-2022-21721?
CVE-2022-21721 affects Vercel Next.Js.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vercel","product":"Next.Js","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.