CVE-2025-57822
CVE-2025-57822 is a medium-severity vulnerability in Vercel Next.js with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-918.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-26245
- Weakness: CWE-918
- Affected product: Vercel Next.js
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-57822?
- 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.
- How severe is CVE-2025-57822?
- CVE-2025-57822 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability none.
- Is CVE-2025-57822 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-57822?
- CVE-2025-57822 affects Vercel Next.js. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-57822?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-57822 have an EU (EUVD) identifier?
- Yes. CVE-2025-57822 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-26245.
- When was CVE-2025-57822 published?
- CVE-2025-57822 was published on 2025-08-29 and last updated on 2026-06-17.
References
- https://github.com/vercel/next.js/commit/9c9aaed5bb9338ef31b0517ccf0ab4414f2093d8
- https://github.com/vercel/next.js/security/advisories/GHSA-4342-x723-ch2f
- https://vercel.com/changelog/cve-2025-57822
Affected products (1)
- cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
More vulnerabilities in Vercel Next.js
- CVE-2025-55182 — Critical (CVSS 10.0): A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0,…
- CVE-2025-29927 — Critical (CVSS 9.1): Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions…
- CVE-2026-44578 — High (CVSS 8.6): Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5,…
- CVE-2026-44574 — High (CVSS 8.1): Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5,…
- CVE-2026-45109 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. From 15.2.0 to before 15.5.18 and 16.2.6, it was…
- CVE-2026-44579 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. From to before 15.5.16 and 16.2.5, applications…
All CVEs affecting Vercel Next.js →
Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities
- CVE-2026-47938 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) versions 7.4.3 build 9394 and earlier are affected by a Server-Side Request Forgery (SSRF)…
- CVE-2026-35431 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Microsoft Entra ID Entitlement Management allows an unauthorized attacker to…
- CVE-2026-32186 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Microsoft Bing allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-33107 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Azure Databricks allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-32871 — Critical (CVSS 10.0): FastMCP is a Pythonic way to build MCP servers and clients. Prior to version 3.2.0, the OpenAPIProvider in FastMCP…
- CVE-2026-32169 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Azure Cloud Shell allows an unauthorized attacker to elevate privileges over a…
Browse all CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities →