VYPR
Unrated severityNVD Advisory· Published Dec 2, 2026

http-server through 14.1.1 Open Redirect via Directory Trailing-Slash Redirect

CVE-2026-142189

Description

http-server through 14.1.1 contains an open redirect vulnerability in lib/core/index.js that builds the 302 Location header from the raw request pathname plus a slash. Unauthenticated attackers can craft protocol-relative paths with encoded traversal sequences resolving to an existing subdirectory, redirecting victims to attacker-controlled sites.

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.