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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-32379— XSS at ctx.redirect() function in Koajs

CVSS 5.0 · Medium EPSS 0.18% · P40
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-32379

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
XSS at ctx.redirect() function in Koajs
Source: NVD (National Vulnerability Database)
Vulnerability Description
Koa is expressive middleware for Node.js using ES2017 async functions. In koa < 2.16.1 and < 3.0.0-alpha.5, passing untrusted user input to ctx.redirect() even after sanitizing it, may execute javascript code on the user who use the app. This issue is patched in 2.16.1 and 3.0.0-alpha.5.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Koa 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Koa是Koa.js开源的一个中间件。 Koa 2.16.1之前版本和3.0.0-alpha.5之前版本存在跨站脚本漏洞,该漏洞源于将不可信用户输入传递给ctx.redirect可能导致执行javascript代码。
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

VendorProductAffected VersionsCPESubscribe
koajskoa >= 3.0.0-alpha.0, < 3.0.0-alpha.5 -

II. Public POCs for CVE-2025-32379

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-32379

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-32379

No comments yet


Leave a comment