CVE-2022-36046: vercel next.js Uncaught Exception
Vulnerability summary
CVE-2022-36046 is a medium (CVSS 5.3) Uncaught Exception vulnerability in vercel next.js. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 66.8% of scored vulnerabilities.
Timeline
- 31-08-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Next.js is a React framework that can provide building blocks to create web applications. All of the following must be true to be affected by this CVE: Next.js version 12.2.3, Node.js version above v15.0.0 being used with strict `unhandledRejection` exiting AND using next start or a [custom server](https://nextjs.org/docs/advanced-features/custom-server). Deployments on Vercel ([vercel.com](https://vercel.com/)) are not affected along with similar environments where `next-server` isn't being shared across requests.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.16%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.16% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-248Uncaught ExceptionAn exception is thrown from a function, but it is not caught.
- CWE-754Improper Check for Unusual or Exceptional ConditionsThe product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.
Affected systems
Npm1 product
- next≥ 12.2.3, < 12.2.4
PyPI1 product
- nextjs≤ 12.2.3
Vercel1 product
- next.js= 12.2.3 | 12.2.3
3 vendors · 3 products
References
3 links- github.com/vercel/next.js/security/advisories/GHSA-wff4-fpwg-qqv3X Refsource CONFIRMAdvisoryWEBThird Party Advisory
- github.com/vercel/next.js/releases/tag/v12.2.4X Refsource MISCAdvisoryWEBRelease NotesThird Party Advisory