CVE-2026-93981

Updated on 19 Sep 2026

Severity

2.3 Low severity

Details

CVSS score
2.3
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Overview

About vulnerability

Summary

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.

Details

These paths stringify their input and treat the result as already-escaped HTML, so a plain string passes through unchanged. Notable cases:

  • Suspense: a string child, or a string fallback while a child suspends. With streaming, the fallback reaches the browser in the initial chunk.
  • ErrorBoundary: a string child alongside an asynchronous sibling. The all-synchronous case was fixed in 4.11.7 (GHSA-9r54-q6cx-xmh5).
  • Context.Provider: a single string child. Multiple children are escaped.
  • hono/jsx/dom/server: a string, or an array containing strings, passed as the root.

A lone {children} forwarded by a wrapper component is enough to reach these paths. Strings wrapped in an element, values from raw() or the html helper, and client-side rendering with hono/jsx/dom are not affected.

Impact

An attacker who controls a string rendered in an affected position can inject arbitrary HTML into the server-rendered page, leading to cross-site scripting under the application’s origin.

This issue affects applications that render untrusted strings directly in one of the positions above during server-side rendering.

Details

Affected product:
@mcp-ui/client , @mcp-ui/server , @modelcontextprotocol/inspector-cli , @modelcontextprotocol/inspector-client , @modelcontextprotocol/inspector-server , AngularJS , ComposioHQ/composio , CopilotKit/CopilotKit , React , accounts , adk-js , adobe-design-data-agent-mcp , adobe-design-data-mcp , adobe-spectrum-design-data-mcp , ag-ui , ag-ui-aws-strands , ag-ui-mastra , agentclientprotocol-claude-agent-acp , agents , ai-sdk-devtools , ai-sdk-harness-cline , ai-sdk-harness-pi , ai-sdk-provider-claude-code , allure-codeceptjs , angular-create , angular-eslint , angular-eslint-builder , angular-eslint-schematics , appkit , browserbasehq-stagehand , bull-board-hono , claude-agent-sdk-typescript , clerk-hono , cline , cline-sdk , cloudflare-ai-chat , cloudflare-codemode , cloudflare-think , cloudflare-voice , cloudflare-voice-twilio , cloudflare/agents , codeceptjs , composer , composio , composio-anthropic , composio-claude-agent-sdk , configure , copilotkit-agentcore-runner , copilotkit-mcp-apps-renderer , copilotkit-react-native , copilotkit-react-textarea , copilotkit-react-ui , copilotkit-runtime , copilotkit-sqlite-runner , copilotkit-voice , copilotkit-vue , create-factory , create-module-federation , create-zephyr-apps , deepeval , deepseek-harness , earendil-works-pi-agent-core , earendil-works-pi-ai , emulate , eslint-mcp , executor-js-plugin-mcp , expo-mcp , expo/expo-mcp , ext-apps , fastmcp , files-sdk , firebase-tools , flue-runtime , fumadocs , fumadocs-ai-chat , fumadocs-graphql , fumadocs-ui , fumapress , fumapress-ai , fumapress-feedback , fumapress-graphql , fumapress-mintlify , google-adk , google-cloud-vertexai , harness-sdk , hono , hono-mcp , hono-openapi , hono-otel , hono-rate-limiter , hono-swagger-ui , hono-trpc-server , hono-zod-openapi , honojs/middleware , hyperframes , inngest , inngest-realtime , js-genai , json-render-mcp , langchain-mistralai , leafygreen-ui , livekit-agents-plugin-mistral , livekit-agents-plugin-mistralai , logtape-hono , lynx-js-docs-mcp-server , lynx-js-genui , mastra , mastra-agent-builder , mastra-agentcore , mastra-agentfs , mastra-ai-sdk , mastra-apple-container , mastra-archil , mastra-arize , mastra-arthur , mastra-astra , mastra-auth , mastra-auth-auth0 , mastra-auth-better-auth , mastra-auth-clerk , mastra-auth-cloud , mastra-auth-firebase , mastra-auth-neon , mastra-auth-okta , mastra-auth-studio , mastra-auth-supabase , mastra-azure , mastra-blaxel , mastra-braintrust , mastra-browser-viewer , mastra-chroma , mastra-clickhouse , mastra-client-js , mastra-cloudflare , mastra-cloudflare-d1 , mastra-cloudflare-sandbox , mastra-code-sdk , mastra-connect , mastra-core , mastra-couchbase , mastra-cursor , mastra-datadog , mastra-daytona , mastra-deepeval , mastra-deployer , mastra-deployer-netlify , mastra-deployer-sandbox , mastra-deployer-vercel , mastra-discord , mastra-docker , mastra-dsql , mastra-dynamodb , mastra-e2b , mastra-editor , mastra-elysia , mastra-evals , mastra-express , mastra-factory , mastra-files-sdk , mastra-github-signals , mastra-google-cloud-pubsub , mastra-google-drive , mastra-hono , mastra-inngest , mastra-koa , mastra-lance , mastra-langfuse , mastra-langsmith , mastra-livekit , mastra-loggers , mastra-longmemeval , mastra-mcp , mastra-mcp-apps-components , mastra-mcp-docs-server , mastra-mesa , mastra-mongodb , mastra-mysql , mastra-nestjs , mastra-observability , mastra-openai , mastra-opencode , mastra-opensearch , mastra-oracledb , mastra-otel-bridge , mastra-otel-exporter , mastra-parallel , mastra-perplexity , mastra-pinecone , mastra-playground-ui , mastra-posthog , mastra-qdrant , mastra-quickjs , mastra-react , mastra-s3 , mastra-s3vectors , mastra-sentry , mastra-server-adapters-test-suite , mastra-slack , mastra-spanner , mastra-tanstack-start , mastra-tavily , mastra-teams , mastra-temporal , mastra-turso , mastra-valkey , mastra-valkey-streams , mastra-vectorize , mastra-vercel , mastra-weaviate , mastracode , mcp-handler , mcp-proxy , mcporter , microsoft-365-agents-toolkit , mistralai-mistralai , modelcontextprotocol-ext-apps , modelcontextprotocol-inspector , modelcontextprotocol-server-filesystem , modern-js-adapter-rstest , modern-js-app-tools , modern-js-babel-compiler , modern-js-babel-plugin-module-resolver , modern-js-babel-preset , modern-js-core , modern-js-flight-server-transform-plugin , modern-js-plugin-bff , modern-js-plugin-i18n , modern-js-plugin-polyfill , modern-js-plugin-ssg , modern-js-prod-server , modern-js-rsbuild-plugin-esbuild , modern-js-server , modern-js-server-core , modern-js-server-runtime , modern-js-server-utils , modern-js-tsconfig , modern-js-uni-builder , modern-js-utils , modern.js , module-federation-bridge-shared , module-federation-bridge-vue3 , module-federation-core , module-federation-devtools , module-federation-modern-js , module-federation-retry-plugin , module-federation-rsbuild-plugin , mppx , mui-mcp , neon , neon-pkgs , node-server , octanejs-mcp-server , office-addin-debugging , office-addin-dev-settings , onflow-fcl-rainbowkit-adapter , openai-agents , openai-agents-extensions , openai-agents-js , openai-agents-openai , openai-agents-realtime , openclaw/openclaw , openuidev-lang-core , pandacss-dev , pandacss-mcp , pi , pi-mcp-adapter , porto , prisma , privy-io , promptfoo , rainbowkit , rekog-mcp-nest , remotion-mcp , reown-appkit-adapter-wagmi , rollup-plugin-zephyr , sandbox-sdk , scalar , scalar-hono-api-reference , scalar-void-server , sdk-typescript , sentry-hono , shadcn , sst , strapi-core , strapi-plugin-cloud , strapi-plugin-color-picker , strapi-plugin-documentation , strapi-plugin-graphql , strapi-plugin-sentry , strapi-plugin-users-permissions , strapi-strapi , tanstack-ai-acp , tanstack-ai-claude-code , tanstack-ai-codex , tanstack-ai-grok-build , tanstack-ai-mcp , tanstack-ai-opencode , tanstack-ai-sandbox , tanstack-ai-sandbox-blaxel , tanstack-ai-sandbox-boxd , tanstack-ai-sandbox-cloudflare , tanstack-ai-sandbox-daytona , tanstack-ai-sandbox-local-process , tanstack-ai-sandbox-railway , tanstack-ai-sandbox-sprites , tanstack-ai-sandbox-vercel , temporalio-google-adk-agents , transloadit-mcp-server , trigger.dev , tsrx-bun-plugin-hono , tsrx-hono , tsrx-mcp , tsrx-vite-plugin-hono , tty-table , typescript-sdk , upstash-context7-mcp , vite-plugin-tanstack-start-zephyr , vite-plugin-vinext-zephyr , vite-plugin-zephyr , wagmi , wagmi-connectors , waku , wata , web-infra-dev/modern.js , with-zephyr , wonderwhy-er-desktop-commander , workflow-world-testing , wp-playground-mcp , x402 , x402-hono , x402-mcp , x402-paywall , zephyr-agent , zephyr-astro-integration , zephyr-edge-contract , zephyr-metro-plugin , zephyr-modernjs-plugin , zephyr-nuxt-module , zephyr-packages , zephyr-repack-plugin , zephyr-rolldown-plugin , zephyr-rsbuild-plugin , zephyr-rspack-plugin , zephyr-rspress-plugin , zephyr-webpack-plugin , zephyr-xpack-internal
Affected packages:
hono @ 4.12.16 (+4969 more)

Fixes