Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/koa@0.5.4 |
| Type | npm |
| Namespace | |
| Name | koa |
| Version | 0.5.4 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 2.16.4 |
| Latest_non_vulnerable_version | 3.1.2 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-dag4-3xut-xffu |
| vulnerability_id |
VCID-dag4-3xut-xffu |
| summary |
Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() function
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. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2025-32379 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00311 |
| scoring_system |
epss |
| scoring_elements |
0.54677 |
| published_at |
2026-06-09T12:55:00Z |
|
| 1 |
| value |
0.00311 |
| scoring_system |
epss |
| scoring_elements |
0.54675 |
| published_at |
2026-06-05T12:55:00Z |
|
| 2 |
| value |
0.00311 |
| scoring_system |
epss |
| scoring_elements |
0.54685 |
| published_at |
2026-06-06T12:55:00Z |
|
| 3 |
| value |
0.00311 |
| scoring_system |
epss |
| scoring_elements |
0.54678 |
| published_at |
2026-06-07T12:55:00Z |
|
| 4 |
| value |
0.00311 |
| scoring_system |
epss |
| scoring_elements |
0.54657 |
| published_at |
2026-06-08T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2025-32379 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
|
| fixed_packages |
|
| aliases |
CVE-2025-32379, GHSA-x2rg-q646-7m2v
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-dag4-3xut-xffu |
|
| 1 |
| url |
VCID-gwgu-xdj8-zkfv |
| vulnerability_id |
VCID-gwgu-xdj8-zkfv |
| summary |
Duplicate Advisory: Koa Open Redirect via Referrer Header (User-Controlled)
### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-jgmv-j7ww-jx2x. This link is maintained to preserve external references.
### Original Description
A vulnerability, which was classified as problematic, was found in KoaJS Koa up to 3.0.0. Affected is the function back in the library lib/response.js of the component HTTP Header Handler. The manipulation of the argument Referrer leads to open redirect. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. |
| references |
| 0 |
| reference_url |
https://github.com/koajs/koa |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
3.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
|
| 1 |
| value |
2.0 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/koajs/koa |
|
| 1 |
|
| 2 |
| reference_url |
https://github.com/koajs/koa/issues/1892 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
3.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
|
| 1 |
| value |
2.0 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/koajs/koa/issues/1892 |
|
| 3 |
|
| 4 |
| reference_url |
https://vuldb.com/?ctiid.317514 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
3.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
|
| 1 |
| value |
2.0 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://vuldb.com/?ctiid.317514 |
|
| 5 |
| reference_url |
https://vuldb.com/?id.317514 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
3.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
|
| 1 |
| value |
2.0 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://vuldb.com/?id.317514 |
|
| 6 |
| reference_url |
https://vuldb.com/?submit.619741 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
3.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
|
| 1 |
| value |
2.0 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://vuldb.com/?submit.619741 |
|
| 7 |
|
| 8 |
|
|
| fixed_packages |
|
| aliases |
GHSA-mvw6-62qv-vmqf
|
| risk_score |
1.6 |
| exploitability |
0.5 |
| weighted_severity |
3.1 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-gwgu-xdj8-zkfv |
|
| 2 |
| url |
VCID-tn9e-shkk-q3cn |
| vulnerability_id |
VCID-tn9e-shkk-q3cn |
| summary |
Inefficient Regular Expression Complexity in koa
Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2025-25200 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00496 |
| scoring_system |
epss |
| scoring_elements |
0.66199 |
| published_at |
2026-06-05T12:55:00Z |
|
| 1 |
| value |
0.00496 |
| scoring_system |
epss |
| scoring_elements |
0.66197 |
| published_at |
2026-06-09T12:55:00Z |
|
| 2 |
| value |
0.00496 |
| scoring_system |
epss |
| scoring_elements |
0.66179 |
| published_at |
2026-06-08T12:55:00Z |
|
| 3 |
| value |
0.00496 |
| scoring_system |
epss |
| scoring_elements |
0.66192 |
| published_at |
2026-06-07T12:55:00Z |
|
| 4 |
| value |
0.00496 |
| scoring_system |
epss |
| scoring_elements |
0.66208 |
| published_at |
2026-06-06T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2025-25200 |
|
| 1 |
| reference_url |
https://github.com/koajs/koa |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
9.2 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H |
|
| 1 |
| value |
CRITICAL |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/koajs/koa |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
|
| fixed_packages |
|
| aliases |
CVE-2025-25200, GHSA-593f-38f6-jp5m
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-tn9e-shkk-q3cn |
|
| 3 |
| url |
VCID-ypnn-yfx7-wycp |
| vulnerability_id |
VCID-ypnn-yfx7-wycp |
| summary |
Koa has Host Header Injection via ctx.hostname
Koa's `ctx.hostname` API performs naive parsing of the HTTP Host header, extracting everything before the first colon without validating the input conforms to RFC 3986 hostname syntax. When a malformed Host header containing a `@` symbol (e.g., `evil.com:fake@legitimate.com`) is received, `ctx.hostname` returns `evil.com` - an attacker-controlled value. Applications using `ctx.hostname` for URL generation, password reset links, email verification URLs, or routing decisions are vulnerable to Host header injection attacks. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2026-27959 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00125 |
| scoring_system |
epss |
| scoring_elements |
0.31241 |
| published_at |
2026-06-09T12:55:00Z |
|
| 1 |
| value |
0.00125 |
| scoring_system |
epss |
| scoring_elements |
0.31318 |
| published_at |
2026-06-05T12:55:00Z |
|
| 2 |
| value |
0.00125 |
| scoring_system |
epss |
| scoring_elements |
0.31285 |
| published_at |
2026-06-06T12:55:00Z |
|
| 3 |
| value |
0.00125 |
| scoring_system |
epss |
| scoring_elements |
0.31249 |
| published_at |
2026-06-07T12:55:00Z |
|
| 4 |
| value |
0.00125 |
| scoring_system |
epss |
| scoring_elements |
0.31218 |
| published_at |
2026-06-08T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2026-27959 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
|
| fixed_packages |
|
| aliases |
CVE-2026-27959, GHSA-7gcc-r8m5-44qm
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-ypnn-yfx7-wycp |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.5 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/koa@0.5.4 |