{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-57822","published":"2025-08-29T22:15:32.143000Z","last_modified":"2026-10-18T21:10:00.120000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-918"],"cpes":[{"criteria":"cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vercel","product":"next.js","version_end_excluding":"14.2.32"},{"criteria":"cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vercel","product":"next.js","version_start_including":"15.0.0","version_end_excluding":"15.4.7"}],"cpes_truncated":false,"vendors":["vercel"],"products":["vercel/next.js"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4342-x723-ch2f","ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[{"introduced":"0.9.9","fixed":"14.2.32"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4342-x723-ch2f","ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[{"introduced":"15.0.0-canary.0","fixed":"15.4.7"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2025-57822/","html_en":"/en/cve/CVE-2025-57822/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-57822","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-57822"},"untrusted":{"vendor_name":"Vercel","product_name":"Next.js","desc_en":"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":[{"untrusted_vendor":"vercel","untrusted_product":"next.js","versions":[]}],"references":[{"url":"https://github.com/vercel/next.js/commit/9c9aaed5bb9338ef31b0517ccf0ab4414f2093d8","tags":["Patch"]},{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-4342-x723-ch2f","tags":["Vendor Advisory"]},{"url":"https://vercel.com/changelog/cve-2025-57822","tags":["Mitigation","Vendor Advisory"]}]}}