koajs koa up to 2.16.0/3.0.0-alpha.4 ctx.redirect cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in koajs koa up to 2.16.0/3.0.0-alpha.4. This vulnerability affects the function ctx.redirect. Performing a manipulation results in cross site scripting.
This vulnerability is identified as CVE-2025-32379. The attack can be initiated remotely. There is not any exploit available.
You should upgrade the affected component.
Details
A vulnerability, which was classified as problematic, was found in koajs koa up to 2.16.0/3.0.0-alpha.4. This affects the function ctx.redirect. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on integrity. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-32379 since 04/06/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
Upgrading to version 2.16.1 or 3.0.0-alpha.5 eliminates this vulnerability. Applying the patch ff25eb4a7f2392df46481fe86355161067687312 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-2424). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Affected
- IBM Rational Team Concert
Product
Vendor
Name
Version
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- 2.16.0
- 3.0.0-alpha.0
- 3.0.0-alpha.1
- 3.0.0-alpha.2
- 3.0.0-alpha.3
- 3.0.0-alpha.4
License
Website
- Product: https://github.com/koajs/koa/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.1VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CNA Base Score: 5.0
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: koa 2.16.1/3.0.0-alpha.5
Patch: ff25eb4a7f2392df46481fe86355161067687312
Timeline
04/06/2025 🔍04/09/2025 🔍
04/09/2025 🔍
01/14/2026 🔍
Sources
Product: github.comAdvisory: GHSA-x2rg-q646-7m2v
Status: Confirmed
CVE: CVE-2025-32379 (🔍)
GCVE (CVE): GCVE-0-2025-32379
GCVE (VulDB): GCVE-100-304131
CERT Bund: WID-SEC-2025-2424 - IBM Rational Team Concert: Mehrere Schwachstellen
Entry
Created: 04/09/2025 19:16Updated: 01/14/2026 19:27
Changes: 04/09/2025 19:16 (67), 10/28/2025 12:42 (7), 01/14/2026 19:27 (12)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.