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.
Remediation
References
Related Vulnerabilities
WordPress Plugin Icon Widget Cross-Site Scripting (1.2.6)
Joomla Incorrect Permission Assignment for Critical Resource Vulnerability (CVE-2011-4912)
MySQL Numeric Errors Vulnerability (CVE-2010-3835)
Apache HTTP Server CVE-2009-3720 Vulnerability (CVE-2009-3720)
Liferay Portal Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2018-10795)