Improper Input Validation Affecting hono package, versions <4.12.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-HONO-15928832
  • published8 Apr 2026
  • disclosed8 Apr 2026
  • credittikitiki0370

Introduced: 8 Apr 2026

NewCVE-2026-39410  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade hono to version 4.12.12 or higher.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Improper Input Validation via the getCookie function. An attacker can override legitimate cookies and bypass prefix protections by setting cookies with non-breaking space prefixes, leading to potential session fixation or hijacking.

CVSS Base Scores

version 4.0
version 3.1