Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-4342-x723-ch2f

Опубликовано: 29 авг. 2025
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

Next.js Improper Middleware Redirect Handling Leads to SSRF

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

Пакеты

Наименование

next

npm
Затронутые версииВерсия исправления

< 14.2.32

14.2.32

Наименование

next

npm
Затронутые версииВерсия исправления

>= 15.0.0-canary.0, < 15.4.7

15.4.7

EPSS

Процентиль: 90%
0.06179
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-918

Связанные уязвимости

CVSS3: 6.5
nvd
19 дней назад

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.

EPSS

Процентиль: 90%
0.06179
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-918