koa is vulnerable to Cross-Site Scripting (XSS)
40
Medium Risk
Affected versions of this package are vulnerable to a security misconfiguration in Content-Type header handling, which can lead to Cross-Site Scripting (XSS) attacks. An attacker could exploit this by uploading or serving malicious HTML or SVG files that are interpreted with an incorrect MIME type, allowing arbitrary script execution in users' browsers when the content is viewed.
You are affected if you are using a version that falls within the vulnerable range.
koa is vulnerable to Cross-Site Scripting (XSS) in versions 2.16.0 - 3.0.1.
Upgrade the koa library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant