CVE-2026-24771: honojs hono · Cross-site Scripting
Affects honojs honoSource CVE Database V5
Not known to be exploited · CVSS 4.7 Medium : upgrade to 4.11.7 when convenient.
Data as of 26 Oct 2026, 15:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.11.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade honojs hono to 4.11.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| honojshono | Affected
| Fixed in
|
npmhonopkg:npm/honoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade all hono framework instances to version 4.11.7 or later immediately to apply the official patch that neutralizes the XSS vulnerability in the ErrorBoundary component.
- Conduct a thorough code review of all custom error handling and rendering logic to ensure that no user-controlled input is rendered as raw HTML without proper sanitization or escaping.
- Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of potential XSS attacks.
- Employ automated security testing tools that can detect XSS vulnerabilities in development and staging environments, focusing on error boundary and JSX rendering components.
- Educate developers on secure coding practices related to input validation and output encoding, especially in error handling contexts.
- Monitor web application logs and user reports for suspicious activity that might indicate attempted exploitation.
- If upgrading immediately is not feasible, apply temporary mitigations such as disabling or restricting the use of the vulnerable ErrorBoundary component or sanitizing inputs before they reach it.
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.