Koa through 3.3.0 fails to properly validate Host header values containing URL delimiters, allowing remote attackers to bypass hostname allowlists in request.host and request.hostname. Attackers can send a Host header with a backslash, slash, question mark, or hash so ctx.hostname ends with a trusted domain while ctx.href resolves to an attacker host, poisoning redirects and password reset links.
References
Configurations
No configuration.
History
02 Dec 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-02 17:17
Updated : 2026-12-02 23:18
NVD link : CVE-2026-142247
Mitre link : CVE-2026-142247
CVE.ORG link : CVE-2026-142247
JSON object : View
Products Affected
No product.
CWE
CWE-1286
Improper Validation of Syntactic Correctness of Input
