همهٔ گزارش‌ها
متوسط

Next.js Improper Middleware Redirect Handling Leads to SSRF

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
>= 0.9.9, < 14.2.32
نسخهٔ اصلاح‌شده
14.2.32
نسخه‌های متأثر
>= 15.0.0-canary.0, < 15.4.7
نسخهٔ اصلاح‌شده
15.4.7

بهره‌برداری

CVE-2025-57822

احتمال بهره‌برداری در ۳۰ روز آینده: 2.79%

FIRST EPSS · ۱۴۰۵/۰۸/۳۰

شرح آسیب‌پذیری

A vulnerability in Next.js Middleware has been fixed in v14.2.32 and v15.4.7. The issue occurred when request headers were directly passed into NextResponse.next(). In self-hosted applications, this could allow Server-Side Request Forgery (SSRF) if certain sensitive headers from the incoming request were reflected back into the response.

All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the next() function.

More details at Vercel Changelog

پیوندها

گزارش‌دهندگان

  • medikoo
  • prdngr