{"id":"CVE-2026-47675","revision":"196f4fdd34174de4adf82fc218739e03","records":[{"revision":"196f4fdd34174de4adf82fc218739e03","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-47675","aliases":[],"title":"Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection","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.","state":0,"publishedAt":"2026-05-28T15:28:23.458+00:00","modifiedAt":"2026-05-28T19:17:17.728+00:00","affected":[{"ecosystem":"Vendor product","name":"hono","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"honojs\",\n                    \"product\": \"hono\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.12.21\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"severity":"MEDIUM"}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-3hrh-pfw6-9m5x"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-47675","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-47675","identifiers":["CVE-2026-47675"]},"retained":false,"historicalAffected":[]}],"coverage":[]}