Hono has a non-breaking space prefix bypass in cookie name handling in getCookie()
honojs hono
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hono npm |
|
|
Original description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a discrepancy between browser cookie parsing and parse() handling allows cookie prefix protections to be bypassed. Cookie names that are treated as distinct by the browser may be normalized to the same key by parse(), allowing attacker-controlled cookies to override legitimate ones. This vulnerability is fixed in 4.12.12.
From the CVE record · GitHub_M
References
- github.com/honojs/hono/security/advisories/GHSA-r5rp-j6wh-rvv4Vendor advisory
- github.com/honojs/hono/commit/cc067c85592415cb1880ad3c61ed923472452ec0Advisory
- github.com/honojs/hono/releases/tag/v4.12.12Release notes
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39410.json
- nvd.nist.gov/vuln/detail/CVE-2026-39410
- github.com/honojs/hono