In Next.js prior to versions 14.2.32 and 15.4.7, when request headerswere insecurely passed to NextResponse.next(), an attacker could exploit this behavior to perform Server-Side Request Forgery (SSRF) attacks.
id: CVE-2025-57822
info:
name: Next.js Middleware - Server-Side Request Forgery
author: prdngr,
...