CVE-2025-57822

MEDIUM NUCLEI

Vercel Next.js < 14.2.32 - SSRF

Title source: rule

Description

Next.js is a React framework for building full-stack web applications. Prior to versions 14.2.32 and 15.4.7, when next() was used without explicitly passing the request object, it could lead to SSRF in self-hosted applications that incorrectly forwarded user-supplied headers. This vulnerability has been fixed in Next.js versions 14.2.32 and 15.4.7. All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the next() function.

Nuclei Templates (1)

Next.js Middleware - Server-Side Request Forgery
MEDIUMVERIFIEDby prdngr,nicolas-latacora
Shodan: cpe:"cpe:2.3:a:zeit:next.js" || http.html:"/_next/static"
FOFA: body="/_next/static"

Scores

CVSS v3 6.5
EPSS 0.0648
EPSS Percentile 91.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Details

CWE
CWE-918
Status published
Products (2)
npm/next 0.9.9 - 14.2.32npm
vercel/next.js < 14.2.32
Published Aug 29, 2025
Tracked Since Feb 18, 2026