In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade nuxt to version 3.21.7, 4.4.7 or higher.
Affected versions of this package are vulnerable to Open Redirect via improper handling of URLs in the navigateTo and reloadNuxtApp functions. An attacker can execute arbitrary scripts or redirect users to malicious sites by supplying crafted URLs that exploit path normalization and protocol-relative bypasses.
This vulnerability can be mitigated by validating redirect targets before passing them to navigation functions, such as rejecting inputs where the normalized pathname starts with //, or only accepting a known allow-list of paths. Additionally, reject any user-controlled URL whose protocol is not in an allow-list (typically just http: and https:) before passing it to navigation functions.