medium4.7
CVE-2026-93981
hono before 4.13.7 fails to HTML-escape plain strings rendered by hono/jsx as a child or fallback of Suspense, as a string child of ErrorBoundary alongside an …
Impact
hono before 4.13.7 fails to HTML-escape plain strings rendered by hono/jsx as a child or fallback of Suspense, as a string child of ErrorBoundary alongside an asynchronous sibling, as the single child of a Context.Provider, or as the root value passed to renderToString() or renderToReadableStream() from hono/jsx/dom/server. These paths stringify their input and treat the result as already-escaped markup, so an attacker who controls such a string during server-side rendering can inject arbitrary HTML and execute script under the application's origin.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | hono | < 4.13.7 | 4.13.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-hxh3-vqpv-xpqv
- https://github.com/honojs/hono/security/advisories/GHSA-hxh3-vqpv-xpqv
- https://nvd.nist.gov/vuln/detail/CVE-2026-93981
- https://github.com/honojs/hono/commit/2b8ed402cdab6dfc5e829b480806dcd8db94161e
- https://github.com/honojs/hono/releases/tag/v4.13.7
- https://www.vulncheck.com/advisories/hono-jsx-before-4.13.7-cross-site-scripting-via-unescaped-strings