p PatchFirst

CVE-2026-29086

CVE-2026-29086 · Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.4 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • hono

    Versions
    • < 4.12.4: Affected

    No fix published

  • hono npm

    Affected ranges
    • SEMVER: < 4.12.4

    Update to 4.12.4

Original sources

Check your server →