CVE-2026-29086 PUBLISHED

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

Assigner: GitHub_M
Reserved: 03.03.2026 Published: 04.03.2026 Updated: 05.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS Score: 5.4

Product Status

Vendor honojs
Product hono
Versions
  • Version < 4.12.4 is affected

References

Problem Types

  • CWE-1113: Inappropriate Comment Style CWE