Koa
Monthly
Host header injection in Koa's ctx.hostname API (versions prior to 2.16.4 and 3.1.2) allows remote attackers to inject arbitrary hostnames through malformed Host headers containing @ symbols, affecting applications that use this API for security-sensitive operations like URL generation, password reset links, and email verification. Public exploit code exists for this vulnerability. Applications relying on ctx.hostname for routing decisions or generating user-facing URLs are at risk of credential theft, account compromise, and phishing attacks.
An open redirect in Koa's ctx.back() helper lets remote, unauthenticated attackers force a victim's browser to an attacker-controlled site by sending a crafted Referer header containing a protocol-relative URL such as '//evil.com/login/'. Koa.js versions 2.16.2 up to (but not including) 2.16.3 and 3.0.1 up to (but not including) 3.0.3 are affected; the flaw is a bypass of the earlier fix for CVE-2025-8129/CVE-2025-54420. Publicly available exploit code and a proof-of-concept exist, but EPSS is low (0.29%, 20th percentile) and there is no confirmed active exploitation (not in CISA KEV); exploitation requires user interaction because the victim must trigger the back-redirect flow, and impact is limited to phishing/social-engineering-style redirection rather than server compromise.
Open redirect vulnerability in KoaJS Koa up to version 3.0.0 allows authenticated remote attackers to manipulate the Referrer HTTP header via the back() function in lib/response.js, enabling redirect to arbitrary external URLs with user interaction. The vulnerability has publicly available exploit code and affects the HTTP Header Handler component; EPSS exploitation probability is very low at 0.08% despite public POC availability, suggesting this is primarily a client-side social engineering vector rather than a widely exploitable server-side flaw.
Koa is expressive middleware for Node.js using ES2017 async functions. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, no authentication required. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.
Koa is expressive middleware for Node.js using ES2017 async functions. Rated critical severity (CVSS 9.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
Host header injection in Koa's ctx.hostname API (versions prior to 2.16.4 and 3.1.2) allows remote attackers to inject arbitrary hostnames through malformed Host headers containing @ symbols, affecting applications that use this API for security-sensitive operations like URL generation, password reset links, and email verification. Public exploit code exists for this vulnerability. Applications relying on ctx.hostname for routing decisions or generating user-facing URLs are at risk of credential theft, account compromise, and phishing attacks.
An open redirect in Koa's ctx.back() helper lets remote, unauthenticated attackers force a victim's browser to an attacker-controlled site by sending a crafted Referer header containing a protocol-relative URL such as '//evil.com/login/'. Koa.js versions 2.16.2 up to (but not including) 2.16.3 and 3.0.1 up to (but not including) 3.0.3 are affected; the flaw is a bypass of the earlier fix for CVE-2025-8129/CVE-2025-54420. Publicly available exploit code and a proof-of-concept exist, but EPSS is low (0.29%, 20th percentile) and there is no confirmed active exploitation (not in CISA KEV); exploitation requires user interaction because the victim must trigger the back-redirect flow, and impact is limited to phishing/social-engineering-style redirection rather than server compromise.
Open redirect vulnerability in KoaJS Koa up to version 3.0.0 allows authenticated remote attackers to manipulate the Referrer HTTP header via the back() function in lib/response.js, enabling redirect to arbitrary external URLs with user interaction. The vulnerability has publicly available exploit code and affects the HTTP Header Handler component; EPSS exploitation probability is very low at 0.08% despite public POC availability, suggesting this is primarily a client-side social engineering vector rather than a widely exploitable server-side flaw.
Koa is expressive middleware for Node.js using ES2017 async functions. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, no authentication required. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.
Koa is expressive middleware for Node.js using ES2017 async functions. Rated critical severity (CVSS 9.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity.