CVE-2026-47675
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the serialize() function in hono/cookie validates domain and path options against characters that corrupt Set-Cookie header syntax (;, \r, \n), but does not apply the same validation to sameSite and priority. An application that passes user-controlled input into either option may produce a Set-Cookie response header containing attacker-chosen additional attributes. This vulnerability is fixed in 4.12.21.
How to fix
- hono hono4.12.21 or later
- hono4.12.21 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hono hono | v < 4.12.21 | 4.12.21 |
| hononpm | v < 4.12.21 | 4.12.21 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.