CVE-2024-34351: vercel next.js Server-Side Request Forgery (SSRF)
Vulnerability summary
CVE-2024-34351 is a high (CVSS 7.5) Server-Side Request Forgery (SSRF) vulnerability in vercel next.js. EPSS estimates a 5.45% chance of exploitation in the next 30 days, higher than 92.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 09-05-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
5.45%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
0.00 pp
From 5.45% 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 causeAffected systems
Chainguard3 products
- jitsucom-jitsu< 2.8.0-r0
- jitsucom-jitsu-console< 2.8.0-r0
- jitsucom-jitsu-rotor< 2.8.0-r0
Wolfi3 products
- jitsucom-jitsu< 2.8.0-r0
- jitsucom-jitsu-console< 2.8.0-r0
- jitsucom-jitsu-rotor< 2.8.0-r0
Npm1 product
- next≥ 13.4.0, < 14.1.1
Vercel1 product
- next.js≥ 13.4.0, < 14.1.1
4 vendors · 8 products
References
6 links- github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6gX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085X Refsource MISCFIXWEBPatch
- github.com/vercel/next.jsPACKAGE