{"id":"CVE-2025-57822","revision":"e0e1cf570bd34ff4bd89a40b5ccee5f2","records":[{"revision":"e0e1cf570bd34ff4bd89a40b5ccee5f2","observedAt":"2026-10-25T03:17:18.142+00:00","statement":{"source":"nvd","id":"CVE-2025-57822","aliases":[],"title":"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 incorrec…","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.","state":0,"publishedAt":"2025-08-29T22:15:32.143+00:00","modifiedAt":"2026-10-18T21:10:00.12+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"severity":"HIGH"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-57822","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-918"],"productCriteria":["cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2025-08-29T22:15:32.143","lastModified":"2026-10-18T21:10:00.120"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-57822","identifiers":["CVE-2025-57822"]},"retained":false,"historicalAffected":[]}],"coverage":[]}