Description
Next.js versions >=9.5.0 and <9.5.4 are vulnerable to an Open Redirect. Specially encoded paths could be used with the trailing slash redirect to allow an open redirect to occur to an external site. In general, this redirect does not directly harm users although can allow for phishing attacks by redirecting to an attackers domain from a trusted domain. The issue is fixed in version 9.5.4.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/vercel/next.js/security/advisories/GHSA-x56p-c8cg-q435
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/zeit/next.js/releases/tag/v9.5.4
Scores
CVSS v3
4.7
EPSS
0.0076
EPSS Percentile
50.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Details
CWE
CWE-601
Status
published
Products (2)
npm/next
9.5.0 - 9.5.4npm
vercel/next.js
9.5.0 - 9.5.4
Published
Oct 08, 2020
Tracked Since
Feb 18, 2026