Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2026-24771

CVE-2026-24771: Hono vulnerable to XSS through ErrorBoundary component

January 28, 2026

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.

References

  • github.com/advisories/GHSA-9r54-q6cx-xmh5
  • github.com/honojs/hono
  • github.com/honojs/hono/commit/2cf60046d730df9fd0aba85178f3ecfe8212d990
  • github.com/honojs/hono/security/advisories/GHSA-9r54-q6cx-xmh5
  • nvd.nist.gov/vuln/detail/CVE-2026-24771

Code Behaviors & Features

Detect and mitigate CVE-2026-24771 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 →

Affected versions

All versions before 4.11.7

Fixed versions

  • 4.11.7

Solution

Upgrade to version 4.11.7 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/hono/CVE-2026-24771.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:44 +0000.