Skip to main content
← All vulnerabilities
CVE-2026-29086GHSA-5PQ2-9X2X-5P6W

Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, the setCookie() utility did not validate semicolons (;), carriage returns (\r), or newline characters (\n) in the domain and path options when constructing the Set-Cookie header. Because cookie attributes are delimited by semicolons, this could allow injection of additional cookie attributes if untrusted input was passed into these fields. This issue has been patched in version 4.12.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • honojs hono

    fixed in 4.12.4

  • hononpm

    fixed in 4.12.4

References 2

GitHub · honojs/hono