Packages

koa

3.3.0 · 3 Nov 2026MIT9.7M / weekRepositoryHomepagenpmAtom feed

Upgrading koa From 3.0.0 to 3.1.2

6 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.0.0Newest 3.x, Latest3.3.0

Security

Fixes 2 advisories affecting 3.0.0

  • security: Host Header Injection via ctx.hostname

    3.1.2

Release by release

  1. 3.1.2

    Security fix25 Feb 2026
    • Security

      security: Host Header Injection via ctx.hostname

  2. 3.1.1

    27 Oct 20251 fix
    • Fixed

      Only original value destroy if the new value is not a stream

  3. 3.1.0

    26 Oct 20251 new · 1 fix
    • New

      Fixes mem leak relating to issue-1834

    • Fixed

      Adds steam clean up

  4. 3.0.3

    18 Oct 20251 fix
    • Fixed

      Normalize referer before redirect

  5. 3.0.2

    17 Oct 20251 fix
    • Fixed

      Fixes response.attachment behaviour leads to Content-Type Sniffing

  6. 3.0.1

    27 Jul 20252 new · 1 fix
    • New

      Replace debug module with pure node:util::debuglog

    • New

      Replace cache-content-type with mime-types directly

    • Fixed

      security: Only allow same origin referer on response back 422c551

16 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.