{"id":80956,"date":"2026-06-23T15:43:06","date_gmt":"2026-06-23T12:13:06","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-56762-hono-missing-cookie-name-validation-in-setcookie\/"},"modified":"2026-06-23T15:43:06","modified_gmt":"2026-06-23T12:13:06","slug":"cve-2026-56762-hono-missing-cookie-name-validation-in-setcookie","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-56762-hono-missing-cookie-name-validation-in-setcookie\/","title":{"rendered":"CVE-2026-56762 &#8211; Hono &#8211; Missing Cookie Name Validation in setCookie()"},"content":{"rendered":"<p>CVE ID :CVE-2026-56762<\/p>\n<p>  Published : June 23, 2026, 12:13 p.m. | 1\u00a0hour, 31\u00a0minutes ago<\/p>\n<p>  Description :Hono before 4.12.12 does not validate cookie names on the write path in the setCookie(), serialize(), and serializeSigned() functions, allowing invalid characters such as control characters (e.g. r or n) when an application passes a user-controlled cookie name. This can produce malformed Set-Cookie header values. In modern runtimes such as Node.js and Cloudflare Workers, such invalid header values are rejected and cause a runtime error before the response is sent, so header injection or response splitting could not be reproduced; the issue primarily affects correctness and robustness, resulting in runtime errors (availability) rather than confirmed header injection.<\/p>\n<p>  Severity: 6.9 | MEDIUM<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-56762 Published : June 23, 2026, 12:13 p.m. | 1\u00a0hour, 31\u00a0minutes ago Description :Hono before 4.12.12 does not validate cookie names on the write path in the setCookie(), serialize(), and serializeSigned() functions, allowing invalid characters such as control characters (e.g. r or n) when an application passes a user-controlled cookie name. This can &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-80956","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=80956"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80956\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=80956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=80956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=80956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}