Skip to main content
VulnerabilityPublished

CVE-2026-24771: honojs hono · Cross-site Scripting

Affects honojs honoSource CVE Database V5

0

Not known to be exploited · CVSS 4.7 Medium : upgrade to 4.11.7 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
honojshonoAffected
  • <4.11.7
Fixed in
  • 4.11.7
npmhonopkg:npm/honoOther threatsAffected
  • <4.11.7
Fixed in
  • 4.11.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. 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.
  2. 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.
  3. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of potential XSS attacks.
  4. Employ automated security testing tools that can detect XSS vulnerabilities in development and staging environments, focusing on error boundary and JSX rendering components.
  5. Educate developers on secure coding practices related to input validation and output encoding, especially in error handling contexts.
  6. Monitor web application logs and user reports for suspicious activity that might indicate attempted exploitation.
  7. 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.

References

Community reviews

Loading reviews…