Intel

AIKIDO-2026-989111

hono is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-hxh3-vqpv-xpqv Published 2 days ago

47

Medium Risk

This Affects:

JShono
0.0.1 - 4.13.6
Fixed in 4.13.7
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

hono is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 4.13.6.

How to fix this

Upgrade the hono library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform