# CVE-2022-21721: DOS Vulnerability in next.js

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.22%, higher than 83% of CVEs (2026-12-01)
- Published: 2022-01-28T22:00:17.000Z
- Modified: 2026-09-10T03:49:11.471Z
- Also known as: GHSA-wr66-vrwm-5g5x
- Weaknesses: CWE-20, CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- next (npm): from 12.0.0 before 12.0.9
- vercel next.js: from 12.0.0 before 12.0.9

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x> (third-party-advisory, web)
- <https://github.com/vercel/next.js/pull/33503> (patch, third-party-advisory, web)
- <https://github.com/vercel/next.js/releases/tag/v12.0.9> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21721> (advisory)
- <https://github.com/vercel/next.js> (package)

## Sources

- CVE List: [CVE-2022-21721](https://www.cve.org/CVERecord?id=CVE-2022-21721), CVE Terms of Use, modified 2025-05-05
- GitHub Advisory Database: [GHSA-wr66-vrwm-5g5x](https://github.com/advisories/GHSA-wr66-vrwm-5g5x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-21721](https://nvd.nist.gov/vuln/detail/CVE-2022-21721), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21721 · Whole record: https://cve.day/CVE-2022-21721.json · Rebuilt by cve.day 2026-11-25T22:58:09.443Z
