CVE-2025-57822: vercel next.js Server-Side Request Forgery (SSRF)
Vulnerability summary
CVE-2025-57822 is a high (CVSS 8.2) Server-Side Request Forgery (SSRF) vulnerability in vercel next.js. EPSS estimates a 2.58% chance of exploitation in the next 30 days, higher than 85% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 29-08-2025PublishedVulnerability first disclosed.
- 02-09-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NDiffers
- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NDiffers
EPSS trend
Probability
2.58%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
+0.09 pp
From 2.50% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- jitsucom-jitsu< 2.11.0-r1
- jitsucom-jitsu-console< 2.11.0-r1
- jitsucom-jitsu-rotor< 2.11.0-r1
Wolfi3 products
- jitsucom-jitsu< 2.11.0-r1
- jitsucom-jitsu-console< 2.11.0-r1
- jitsucom-jitsu-rotor< 2.11.0-r1
Npm1 product
- next≥ 0.9.9, < 14.2.32 | ≥ 15.0.0-canary.0, < 15.4.7
Vercel1 product
- next.js< 15.4.7 | < 14.2.32 | ≥ 15.0.0, < 15.4.7
4 vendors · 8 products
References
6 links- github.com/vercel/next.js/security/advisories/GHSA-4342-x723-ch2fX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/vercel/next.js/commit/9c9aaed5bb9338ef31b0517ccf0ab4414f2093d8X Refsource MISCFIXWEBPatch
- github.com/vercel/next.jsPACKAGE