Security mailing lists by PureSourceCode

CVE-2026-47675

MEDIUM 5.3CVSS 3.1

Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection

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.

Published
28 May 2026
Last modified
14 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-113CWE-1287
Also known as
GHSA-3hrh-pfw6-9m5x
Sources
NVDJSONOSV GHSA-3hrh-pfw6-9m5xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hono hono
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
< 4.12.21 4.12.21
OSV npm hono < 4.12.21 4.12.21

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.