@adonisjs/http-server is vulnerable to Open Redirect
61
Medium Risk
The HTTP server's URL builder inserts route parameter values into generated URLs without encoding them. Because reserved characters such as slashes, question marks, hashes, and backslashes are preserved, user-controlled parameter values can alter the structure of the generated URL. When such a URL is used in a redirect response, a scheme-relative value redirects the browser to an external host. The fix passes ordinary and wildcard route parameters through encodeURIComponent so reserved characters are percent-encoded.
You are affected if you are using a version that falls within the vulnerable range and your application builds URLs from routes whose parameters carry user controlled input that is then used to redirect the browser.
@adonisjs/http-server is vulnerable to Open Redirect in versions 0.0.1 - 8.2.2 and 9.0.0 - 9.2.0.
Upgrade the @adonisjs/http-server library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant