@tinyhttp/app is vulnerable to Cross-Site Scripting (XSS)
61
Medium Risk
The default error handler in @tinyhttp/app writes error content to the HTTP response body without HTML-escaping and without setting a Content-Type or X-Content-Type-Options header. When an application places request-controlled data into an error message or passes such data to next(), that data is reflected and can executed as HTML by the browser. This produces reflected cross-site scripting under the framework's default configuration with no special setup. The fix escapes reflected output, sets an explicit content type, and sends a nosniff header.
You are affected if you are using a version that falls within the vulnerable range and your application reflects request-controlled data through an error message or a value passed to next().
@tinyhttp/app is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.0.10.
Upgrade the @tinyhttp/app 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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant