HIGHnpm →
Next.js Improper Middleware Redirect Handling Leads to SSRF
Next.js Improper Middleware Redirect Handling Leads to SSRF
Affected packages
- next
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://github.com/vercel/next.js/security/advisories/GHSA-4342-x723-ch2f
- https://nvd.nist.gov/vuln/detail/CVE-2025-57822
- https://github.com/vercel/next.js/commit/9c9aaed5bb9338ef31b0517ccf0ab4414f2093d8
- https://github.com/vercel/next.js
- https://vercel.com/changelog/cve-2025-57822
Structured record: https://osv.dev/vulnerability/GHSA-4342-x723-ch2f
Recommended response stack
Snyk — Scan your dependencies in CI and fix this vulnerability.→Socket — Detect malicious and compromised packages before they ship.→Vercel — Ship a patched app with zero-config deployment.→
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta