Skip to main content
CVE-2025-62595VulnerabilityPublished

CVE-2025-62595: koajs koa · Open Redirect

Affects koajs koaSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 4.3 Medium : upgrade to 3.0.3 or 2.16.3 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.0.3, 2.16.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade koajs koa to 3.0.3 or 2.16.3.

Affected software

ProductAffectedFixed in
npmkoapkg:npm/koaOther threatsAffected
  • >=2.16.2 <2.16.3
  • >=3.0.1 <3.0.3
Fixed in
  • 2.16.3
  • 3.0.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should take the following specific mitigation steps: 1) Immediately upgrade all Koa.js dependencies to version 3.0.3 or later, where the vulnerability is patched. 2) Audit all web applications using Koa to identify affected versions and confirm no legacy deployments remain. 3) Implement strict input validation and sanitization on any user-controllable redirect URLs beyond relying on framework defaults. 4) Employ Content Security Policy (CSP) headers to restrict navigation to trusted domains, reducing the impact of open redirects. 5) Use anti-phishing training and awareness programs to educate users about suspicious links and redirects. 6) Monitor web application logs for unusual redirect patterns or Referer header anomalies that may indicate exploitation attempts. 7) Consider implementing multi-factor authentication (MFA) to reduce the impact of credential theft resulting from phishing. 8) Engage in regular dependency management and vulnerability scanning to detect and remediate similar issues proactively. These steps go beyond generic advice by focusing on both patching and layered defenses against redirect-based phishing attacks.

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.

References

Community reviews

Loading reviews…