CISA list

● npm package

koa

Koa has five security advisories. The newest release any of them names as the fix is 3.1.2.

As of , koa has five security advisories. The newest release any of them names as the fix is 3.1.2.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 3.0.0-alpha.0 before 3.1.23.1.25 advisories
Before 2.16.42.16.45 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-27959GHSA-7gcc-r8m5-44qmKoa has Host Header Injection via ctx.hostnameHigh severityFrom 3.0.0 before 3.1.2; Before 2.16.42.16.4, 3.1.2
CVE-2025-62595GHSA-g8mr-fgfg-5qpcKoa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect LogicModerate severityFrom 3.0.1 before 3.0.3; From 2.16.2 before 2.16.32.16.3, 3.0.3
CVE-2025-8129GHSA-jgmv-j7ww-jx2xKoa Open Redirect via Referrer Header (User-Controlled)Low severityFrom 3.0.0-alpha.0 before 3.0.1; From 2.0.0 before 2.16.22.16.2, 3.0.1
CVE-2025-32379GHSA-x2rg-q646-7m2vKoajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() functionModerate severityFrom 3.0.0-alpha.1 before 3.0.0-alpha.5; Before 2.16.12.16.1, 3.0.0-alpha.5
CVE-2025-25200GHSA-593f-38f6-jp5mInefficient Regular Expression Complexity in koaCritical severityFrom 3.0.0-alpha.0 before 3.0.0-alpha.3; From 2.0.0 before 2.15.4; From 1.0.0 before 1.7.1; Before 0.21.20.21.2, 1.7.1, 2.15.4, 3.0.0-alpha.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0