Open Redirect Affecting package, versions <4.2.0

  • Attack Complexity


  • User Interaction


Do your applications use this vulnerable package?

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 applications
  • snyk-id


  • published

    26 Feb 2021

  • disclosed

    12 Feb 2021

  • credit

    Martti T

How to fix?

Upgrade to version 4.2.0 or higher.

Overview is a middleware package for echo.

Affected versions of this package are vulnerable to Open Redirect. When using middleware.AddTrailingSlashWithConfig (resp middleware.RemoveTrailingSlashWithConfig) with a RedirectCode configured, it is possible to create open redirects with addresses like this one: (resp