Vulnerability · Published Jan 27, 2026 · Assigned by GitHub_M
CVE-2026-24771Hono has a Cross-site Scripting vulnerability
Medium 4.7
In plain English
A medium-severity cross-site scripting in hono from honojs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, a Cross-Site Scripting (XSS) vulnerability exists in the `ErrorBoundary` component of the hono/jsx library. Under certain usage patterns, untrusted user-controlled strings may be rendered as raw HTML, allowing arbitrary script execution in the victim's browser. Version 4.11.7 patches the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | hono | 4.11.7 | GHSA-9r54-q6cx-xmh5 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/honojs/hono/security/advisories/GHSA-9r54-q6cx-xmh5 x_refsource_CONFIRM
- https://github.com/honojs/hono/commit/2cf60046d730df9fd0aba85178f3ecfe8212d990 x_refsource_MISC