CVE-2026-29086
Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()
- State
- Published
- Severity
- 5.4 Medium
- Published
- Mar 4, 2026
- Updated
- Mar 5, 2026
- Reserved
- Mar 3, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | GitHub_M |
Weaknesses
- CWE-1113 Inappropriate Comment Style
Affected Products
| Product | Versions |
|---|---|
honohonojs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.