p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in koa

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für koa: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 5

  1. CVE-2026-27959

    Hoch · CVSS 7.5EPSS 0,39%Korrektur verfügbar

    Koa has Host Header Injection via `ctx.hostname`

    Koa is middleware for Node.js using ES2017 async functions. Prior to versions 3.1.2 and 2.16.4, 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 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. Versions 3.1.2 and 2.16.4 fix the issue.

    • Auf 2.16.4 aktualisieren
    • Auf 3.1.2 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2025-62595

    Mittel · CVSS 4.3EPSS 0,29%Korrektur verfügbar

    Koa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect Logic

    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 affe

    • Auf 2.16.3 aktualisieren
    • Auf 3.0.3 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2025-8129

    Mittel · CVSS 5.1EPSS 0,29%Korrektur verfügbar

    KoaJS Koa HTTP Header response.js back redirect

    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.

    • Auf 2.16.2 aktualisieren
    • Auf 3.0.1 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2025-32379

    Mittel · CVSS 5EPSS 0,27%Korrektur verfügbar

    XSS at ctx.redirect() function in Koajs

    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.

    • Auf 2.16.1 aktualisieren
    • Auf 3.0.0-alpha.5 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2025-25200

    Kritisch · CVSS 9.2EPSS 0,84%Korrektur verfügbar

    Koa has Inefficient Regular Expression Complexity

    Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, 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. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.

    • Auf 0.21.2 aktualisieren
    • Auf 1.7.1 aktualisieren
    • Auf 2.15.4 aktualisieren
    • Auf 3.0.0-alpha.3 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →