GHSA-55cm-p4ww-685g

Suggest an improvement
Source
https://github.com/advisories/GHSA-55cm-p4ww-685g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-55cm-p4ww-685g/GHSA-55cm-p4ww-685g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-55cm-p4ww-685g
Downstream
CGA (40)
Withdrawn
2026-09-24T18:24:42Z
Published
2026-06-23T15:32:37Z
Modified
2026-09-24T18:45:10Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: Hono missing validation of cookie name on write path in setCookie()
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-113",
        "CWE-20"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-24T18:24:42Z",
    "nvd_published_at":  "2026-06-23T13:16:46Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / hono

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.12.12

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"