CVE-2026-93981: hono/jsx renders plain strings unescaped in boundary components, leading to XSS
hono/jsx does not HTML-escape a plain string placed directly as a child or fallback of Suspense or ErrorBoundary, as the only child of a Context.Provider, or as the root value of renderToString() / renderToReadableStream() from hono/jsx/dom/server. Such a string is emitted as markup instead of text.
References
- github.com/advisories/GHSA-hxh3-vqpv-xpqv
- github.com/honojs/hono/commit/2b8ed402cdab6dfc5e829b480806dcd8db94161e
- github.com/honojs/hono/releases/tag/v4.13.7
- github.com/honojs/hono/security/advisories/GHSA-hxh3-vqpv-xpqv
- nvd.nist.gov/vuln/detail/CVE-2026-93981
- www.vulncheck.com/advisories/hono-jsx-before-4.13.7-cross-site-scripting-via-unescaped-strings
Code Behaviors & Features
Detect and mitigate CVE-2026-93981 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →