hono is vulnerable to Cross-Site Scripting (XSS)
47
Medium Risk
The hono/jsx renderer inserts plain strings as pre-escaped markup instead of escaped text in several server-side rendering positions. Strings used as direct children or fallback content of Suspense and ErrorBoundary, as the sole child of a Context.Provider, or as root values passed to renderToString and renderToReadableStream skip HTML escaping. Untrusted content on these paths can inject markup and run script in the browser. The fix passes these values through the HTML-escaping helpers and still keeps explicitly trusted raw output.
You are affected if you are using a version that falls within the vulnerable range and you pass untrusted strings through hono/jsx server-side rendering.
hono is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 4.13.6.
Upgrade the hono 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
ISO 42001Compliant© All Intel data is openly available and commercially licensed.