CVE-2026-29086
published medium CVSS 3.1 · 5.4Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| honojs | — | hono< 4.12.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| honojs | hono | < 4.12.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1113 CWE-1113: Inappropriate Comment Style
References
2Provider assertions
2GitHub_M · cna
Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e79eedf57f69dfea94f7c655e322ae2ab11d6573e7bffcc64f0569792b125733
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record