Skip to content
Heist/ feed
Unrated

Duplicate Advisory: Hono missing validation of cookie name on write path in setCookie()

Type: withdrawalSource: OSV1 source record

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-26pp-8wgv-hjvm. This link is maintained to preserve external references. ### Original 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.

Announced Group revision 1
Original source ↗

GHSA-55cm-p4ww-685g

Primary source · Revision 1 · Withdrawn

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-55cm-p4ww-685g

hono

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
4.12.12

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "4.12.12"
          }
        ]
      }
    ],
    "package": {
      "name": "hono",
      "purl": "pkg:npm/hono",
      "ecosystem": "npm"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-55cm-p4ww-685g/GHSA-55cm-p4ww-685g.json"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#14220 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement