CVE-2024-34351
published high CVSS 3.1 · 7.5Next.js Server-Side Request Forgery in Server Actions
Package status and fixes
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vercel | next.js | >= 13.4.0, < 14.1.1 (affected) | GitHub_M · cna |
| vercel | next.js | 13.4.0 to < 14.1.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
3Provider assertions
3GitHub_M · cna
Next.js Server-Side Request Forgery in Server Actions
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3b371c0c09d2e938021714fa14dd7169e7e35e1dff37802d1a836d772cd93ad5
- Ingested
- 23 Sep 2026, 08:23:23 UTC
- Source record
- Official CVE record