Live threats

All CVEs / Serve-static Project

CVE-2015-1164Serve-static Project Serve-static

Medium 4.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Serve-static.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
serve-static_projectserve-static≤ 1.7.1

Official sources

References

Links published by the sources. Open them with care.