Feed
7.5HIGH
CVE-2024-34351Next.js Server-Side Request Forgery in Server Actions
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 5.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 5.9%
- percentile 94%
- Fix
- Named by a source
- CVE published 14 May 2024
Reference
None of the "Needs attention" rules apply right now.
EPSS 5.9% (+6) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- next (npm): upgrade to 14.1.1 or later on your release line.
- Commit / pull request: https://github.com/vercel/next.js/pull/62561
- Commit / pull request: https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085
Who should check
next (npm) pkg:npm/next
- Affected>= 13.4.0, < 14.1.1Fixed in14.1.1OSV (GHSA-fr5h-rqp8-mj6g)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-fr5h-rqp8-mj6g)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-918
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)### Impact A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions by security researchers at Assetnote. 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. #### Prerequisites * Next.js (`<14.1.1`) is running in a self-hosted* manner. * The Next.js application makes use of Server Actions. * The Server Action performs a redirect to a relative path which starts with a `/`. \* Many hosting providers (including Vercel) route requests based on the Host header, so we do not believe that this vulnerability affects any Next.js applications where routing is done in this manner. ### Patches This vulnerability was patched in [#62561](https://github.com/vercel/next.js/pull/62561) and fixed in Next.js `14.1.1`. ### Workarounds There are no official workarounds for this vulnerability. We recommend upgrading to Next.js `14.1.1`. ### Credit Vercel and the Next.js team thank Assetnote for responsibly disclosing this issue to us, and for working with us to verify the fix. Thanks to: Adam Kues - Assetnote Shubham Shah - Assetnote
Update history
- 25 Nov 2025Exploitation more likely 73.3% → 92.3%
- 23 Jun 2025Exploitation more likely 81.7% → 91.7%
- 17 Jun 2025Exploitation more likely 81.0% → 91.6%
- 21 Apr 2025Exploitation more likely 70.7% → 81.0%
- 15 Apr 2025Exploitation more likely 70.7% → 81.0%
References
- otherhttps://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-34351
- commit / pull requesthttps://github.com/vercel/next.js/pull/62561
- commit / pull requesthttps://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085
- otherhttps://github.com/vercel/next.js
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-fr5h-rqp8-mj6g (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 19 min ago · osv 19 min ago · nvd 79 min ago · epss 18 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-fr5h-rqp8-mj6g