Open Redirect Affecting ecstatic package, versions <2.2.2 >=3.0.0 <3.3.2 >=4.0.0 <4.1.2



    Attack Complexity Low
    User Interaction Required

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 SNYK-JS-ECSTATIC-174543
  • published 30 Apr 2019
  • disclosed 23 Apr 2019
  • credit Mario Casola

Introduced: 23 Apr 2019

CVE NOT AVAILABLE CWE-601 Open this link in a new tab

How to fix?

Upgrade ecstatic to version 2.2.2, 3.3.2, 4.1.2 or higher.


ecstatic is a simple static file server middleware. Use it with a raw http server, express/connect or on the CLI.

Affected versions of this package are vulnerable to Open Redirect. The package failed to validate redirects, allowing attackers to craft requests that result in an HTTP 301 redirect to any other domains.