koa@2.15.4 vulnerabilities

Koa web app framework

  • latest version

    2.16.1

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    12 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the koa package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Cross-site Scripting (XSS)

    koa is a Koa web app framework

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the ctx.redirect() function. An attacker can execute scripts on the user's browser or redirect users to malicious sites by supplying malicious input as an achor reference.

    How to fix Cross-site Scripting (XSS)?

    Upgrade koa to version 2.16.1, 3.0.0-alpha.5 or higher.

    <2.16.1>=3.0.0-alpha.1 <3.0.0-alpha.5