{"items":[{"id":"NVI-00018460","kind":"vulnerability","title":"Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3hrh-pfw6-9m5x","CVE-2026-47675"],"plain_summary":"GitHub lists this reviewed advisory for hono. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-289942ad7d8fb1a6d222a2c5725396e0"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-04T17:59:27.000Z","value":"4.3 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-289942ad7d8fb1a6d222a2c5725396e0"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-289942ad7d8fb1a6d222a2c5725396e0","url":"https://github.com/advisories/GHSA-3hrh-pfw6-9m5x","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3hrh-pfw6-9m5x","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T00:53:06.181Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-289942ad7d8fb1a6d222a2c5725396e0"],"technology":"hono","known_exclusions":[],"conditions_summary":"### Summary\n\nThe `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.\n\n### Details\n\nWhen constructing a `Set-Cookie` header value, `serialize()` appends the `sameSite` and `priority` option values directly into the output string after a presentation-only transformation (capitalizing the first character). Although the TypeScript type signature constrains these options to specific string literals, that constraint is not enforced at runtime; any string value, including one containing `;` or line-feed characters, passes through unchanged.\n\nThe validation guard that rejects `;`, `\\r`, and `\\n` from `domain` and `path` is not applied to `sameSite` or `priority`. An application that passes a request-derived value to either option therefore provides an injection point into the header line.\n\nThis issue arises when an application passes user-controlled input to the","public_affected_ranges":["< 4.12.21"]}],"null_published_at":"2026-11-07T07:07:39.839Z","source_updated_at":"2026-06-04T17:59:27.000Z","source_disclosed_at":"2026-06-04T17:59:25.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-07T00:53:06.181Z"}],"next_cursor":null,"snapshot_revision":"42594"}