CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in koajs koa. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in koa 2.16.3, 3.0.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nkoa (npm): fixed in 3.0.3, 2.16.3Explain CVE-2025-62595 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-62595?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-62595?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-62595 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| koajs:koa | from 3.0.1 before 3.0.3 |
| koajs:koa | 2.16.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g8mr-fgfg-5qpc | npm | koa | >=3.0.1 <3.0.3 | 3.0.3 |
| GHSA-g8mr-fgfg-5qpc | npm | koa | >=2.16.2 <2.16.3 | 2.16.3 |
Red Hat rates this Moderate.
To exploit this flaw, an attacker needs to convince a user into visiting a malicious link, limiting the possibility of exploitation. However, this vulnerability still has a moderate severity due to the impact of redirect-based attacks.
Applications can use the following workarounds to mitigate this vulnerability:
Do not treat //host as a safe relative path. Explicitly exclude protocol‑relative values from any relative‑path branch.
Normalize the Referer by resolving it with a base (e.g., new URL(rawRef, ctx.href)), then compare resolved.origin (scheme+host+port) to ctx.origin (or ctx.host plus scheme/port) before allowing the redirect.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Service Mesh 2 | openshift-service-mesh/grafana-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-must-gather-rhel9 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-operator-bundle | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/ratelimit-rhel8 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-cni-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-must-gather-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-pilot-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-proxyv2-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-rhel9-operator | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-sail-operator-bundle | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh-tech-preview/istio-ztunnel-rhel9 | Not affected | |
| Red Hat Developer Hub 1 | rhdh/rhdh-hub-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-62595.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.