Open Redirect Vulnerability in ecstatic

ecstatic Updated 02 Oct 2025

Summary

01/04/2020
HIGH
Yes i
High
Not published

GHSA-9q64-mpxx-87fg: Open Redirect in ecstatic. Affects ecstatic across 3 version ranges.

< 2.2.2 >= 3.0.0, < 3.3.2 >= 4.0.0, < 4.1.2

Fixed in 2.2.2, 3.3.2 or 4.1.2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ecstatic is an npm package that provides a simple static file server for serving static assets. It is commonly used in web applications to serve static files such as HTML, CSS, and JavaScript. However, versions of ecstatic prior to 4.1.2, 3.3.2, or 2.2.2 are vulnerable to an Open Redirect vulnerability. This vulnerability allows attackers to craft requests that result in an HTTP 301 redirect to any other domain.

Vulnerability Detail

The Open Redirect vulnerability in ecstatic arises from the package's failure to properly validate redirects. Attackers can exploit this vulnerability by crafting malicious requests that trick the server into redirecting the user to a different domain. This can be used for phishing attacks, where the attacker tricks the user into visiting a malicious website by disguising it as a legitimate one. The impact of this vulnerability can range from unauthorized access to sensitive information to the installation of malware on the user's system.

How To Fix

Latest published version: 4.1.4 as of 22 Oct 2026

npm install ecstatic@4.1.4

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.2.2 2.2.2
    npm install ecstatic@2.2.2
  • >= 3.0.0, < 3.3.2 3.3.2
    npm install ecstatic@3.3.2
  • >= 4.0.0, < 4.1.2 4.1.2
    npm install ecstatic@4.1.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed versions of ecstatic to address the issue.

Conclusion

The Open Redirect vulnerability in ecstatic can have serious security implications, including unauthorized access to sensitive information and the potential for phishing attacks. It is crucial to update to the fixed versions of ecstatic (4.1.2 or later for 4.x, 3.3.2 or later for 3.x, and 2.2.2 or later for 2.x) to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for ecstatic →

Share this vulnerability

FAQ

An Open Redirect vulnerability allows attackers to craft requests that trick the server into redirecting the user to a different domain. This can be exploited for phishing attacks or to redirect users to malicious websites.

The consequences of this vulnerability can include unauthorized access to sensitive information, phishing attacks, and the installation of malware on the user's system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the package-lock.json file.

There are no known workarounds for this vulnerability. It is essential to update to the fixed versions of ecstatic to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for ecstatic.

How To Fix

Latest published version: 4.1.4 as of 22 Oct 2026

npm install ecstatic@4.1.4

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.2.2 2.2.2
    npm install ecstatic@2.2.2
  • >= 3.0.0, < 3.3.2 3.3.2
    npm install ecstatic@3.3.2
  • >= 4.0.0, < 4.1.2 4.1.2
    npm install ecstatic@4.1.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback