Next.js Server Actions Server-Side Request Forgery via Host header
CVE-2024-34351High
Next.js Server Actions contain a Server-Side Request Forgery vulnerability when the application performs a redirect to a relative path starting with a forward slash. An attacker can modify the Host header to make requests appear to originate from the Next.js application server itself. This requires Next.js to be self-hosted, to use Server Actions, and to redirect to a relative path beginning with a forward slash. The vulnerability was fixed in Next.js 14.1.1.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N