7.5

CVE-2022-21721: vercel next.js

CVSS: 7.5v3.1HighModified
AliasesGHSA-wr66-vrwm-5g5x
Published 28-01-2022Last modified 05-05-2025

Vulnerability summary

CVE-2022-21721 is a high (CVSS 7.5) vulnerability in vercel next.js. EPSS estimates a 2.15% chance of exploitation in the next 30 days, higher than 81.9% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 28-01-2022
    PublishedVulnerability first disclosed.
  2. 05-05-2025
    Last modifiedVulnerability information updated.

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, `next@12.0.9`, 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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.15%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

0.00 pp

From 2.15% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.15%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Npm1 product
  • next≥ 12.0.0, < 12.0.9
Vercel1 product

2 vendors · 2 products

References

5 links