← Back

CVE-2025-57822

Published: Aug 29, 2025Modified: Jun 17, 2026

JSON object

Loading...
8.2
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Exploitability: 3.9 / Impact: 4.2
Source: NVD

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 (2)

Products: Vercel: Next.js
1 product
Next.js
Configuration A
2 vulnerable
Vulnerable SoftwareAffected Versions
Vercel
Before 14.2.32
From 15.0.0 to 15.4.7

References (3)

Source: security-advisories@github.com
Vendor Advisory
Source: security-advisories@github.com
MitigationVendor Advisory

Timeline

No history available yet.