All CVEs / Serve-static Project
CVE-2015-1164Serve-static Project Serve-static
Medium 4.3 No auth needed
Follow: this CVE · Serve-static Project · Serve-static Project Serve-static We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jan 21, 2015
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
Open redirect vulnerability in the serve-static plugin before 1.7.2 for Node.js, when mounted at the root, allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a // (slash slash) followed by a domain in the PATH_INFO to the default URI.
What to do
- Apply the vendor's security update for Serve-static.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | serve-static |
< 1.7.2 |
1.7.2 |
npm install serve-static@1.7.2 |
| npm | serve-static |
≥ 1.7.0 < 1.7.2 |
1.7.2 |
npm install serve-static@1.7.2 |
Per OSV / GitHub Advisories (GHSA-c3x7-gjmx-r2ff). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| serve-static_project | serve-static | ≤ 1.7.1 |
Official sources
References
Links published by the sources. Open them with care.