Next.js Middleware - Server-Side Request Forgery
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. References: https://github.com/vercel/next.js/security/advisories/GHSA-4342-x723-ch2f https://vercel.com/changelog/cve-2025-57822 https://nvd.nist.gov/vuln/detail/CVE-2025-57822
url