Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-62595— Koa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect Logic

Quick assessment

Affected
koajs koa
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

koa是Koa.js开源的一个使用node.js表达性中间件。 koa 2.16.2版本至2.16.3之前版本和3.0.1版本至3.0.3之前版本存在输入验证错误漏洞,该漏洞源于错误处理特制URL,可能导致重定向攻击。

CVSS 4.3 · Medium EPSS 0.28% · P20
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-62595

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Koa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect Logic
Source: CVE Program / CVE List V5
Vulnerability Description
Koa is expressive middleware for Node.js using ES2017 async functions. In versions 2.16.2 to before 2.16.3 and 3.0.1 to before 3.0.3, a bypass to CVE-2025-8129 was discovered in the Koa.js framework affecting its back redirect functionality. In certain circumstances, an attacker can manipulate the Referer header to force a user’s browser to navigate to an external, potentially malicious website. This occurs because the implementation incorrectly treats some specially crafted URLs as safe relative paths. Exploiting this vulnerability could allow attackers to perform phishing, social engineering, or other redirect-based attacks on users of affected applications. This issue has been patched in version 3.0.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5
Vulnerability Title
koa 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
koa是Koa.js开源的一个使用node.js表达性中间件。 koa 2.16.2版本至2.16.3之前版本和3.0.1版本至3.0.3之前版本存在输入验证错误漏洞,该漏洞源于错误处理特制URL,可能导致重定向攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
koajs koa >= 2.16.2, < 2.16.3 -

II. Public POCs for CVE-2025-62595

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-62595

登录查看更多情报信息。

Vendor Advisories for CVE-2025-62595 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-62595

No comments yet


Leave a comment