> CVE-2025-57822 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-08-29 22:15
MODIFIED
2025-09-08 16:41
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
2.58%
Top 14.7%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-10-28 OSV 🔗 2026-11-08

> 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.

> AFFECTED_PRODUCTS

Vercel - Next.js
< 14.2.32
Vercel - Next.js
>= 15.0.0 < 15.4.7

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-4342-x723-ch2f MODERATE

Next.js Improper Middleware Redirect Handling Leads to SSRF

AFFECTED PACKAGES:
NPM / next
>= 0.9.9, < 14.2.32
Fixed in: 14.2.32
NPM / next
>= 15.0.0-canary.0, < 15.4.7
Fixed in: 15.4.7

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Next.js Improper Middleware Redirect Handling Leads to SSRF

AFFECTED PACKAGES:
Unknown / Unknown
2909 versions affected
ALIASES:
GHSA-4342-x723-ch2f

> HISTORIQUE DES MODIFICATIONS

Première apparition
29/08/2025 22:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:07
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME