Vulnerability
CVE-2026-47675
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.
35 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-258h-g634-h5f8
- CGA-26m2-v484-vw2w
- CGA-395f-8wvj-4f78
- CGA-46r9-jm6c-v477
- CGA-53qr-vwx5-h82m
- CGA-588j-rpv9-3976
- CGA-5hcq-m4xp-wxrp
- CGA-74jx-8ffg-7hq5
- CGA-754c-m7fq-49fw
- CGA-76cg-95g4-p35q
- CGA-7m94-8429-f35q
- CGA-85gw-6wc6-cj3f
- CGA-85ph-cj3f-865g
- CGA-896m-3m4w-x9fh
- CGA-cc64-73jq-86cp
- CGA-cp9p-2g7q-jrrv
- CGA-f2f6-mqvr-fgvw
- CGA-f37m-fq4x-ggwj
- CGA-f3xw-qjqx-fm57
- CGA-f62w-m4rr-57cv
- CGA-gqcx-4rfq-mx24
- CGA-h5vr-hw93-vrv3
- CGA-h6cj-mrv2-6wvq
- CGA-hw6v-93m3-wc8x
- CGA-mh59-gpqx-2v3p
- CGA-mh65-86j4-grwp
- CGA-p569-3j68-9m64
- CGA-pwpv-pchf-qq68
- CGA-q28j-r7mc-v8hw
- CGA-q584-3f2m-fwpw
- CGA-qc53-c67q-pq3j
- CGA-v4wv-gh6r-6r32
- CGA-w6xx-344v-7w2x
- CGA-xf54-vh5c-c46j
-
GHSA-3hrh-pfw6-9m5x
Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection