Hono vulnerabilities
42 vulnerabilities
Known vulnerabilities in Hono products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 2 products.
Products
2- Hono38 vulnerabilities
- Node Server4 vulnerabilities
RoutineCVE-2026-56764hono +8 moreHono - Timing Attack in basicAuth and bearerAuth MiddlewareHono before 4.11.10 contains a timing attack vulnerability in the basicAuth and bearerAuth middlewares due to non-constant-time string comparison in the timingSafeEqual function. Attackers can exploit early termination of string equality checks to infer valid credentials through precise timing measurements.CVSS6.3MediumEPSS0.23%RoutineCVE-2026-56763hono +20 moreHono - Prototype Pollution via __proto__ Key in parseBody with dot OptionHono before 4.12.7 allows __proto__ key in parseBody with dot option enabled, permitting specially crafted form field names to create objects with __proto__ properties. When parsed results are merged into regular JavaScript objects using unsafe merge patterns, attackers can exploit this to achieve prototype pollution and modify object behavior.CVSS6.3MediumEPSS0.18%RoutineCVE-2026-59895honojs · hono +36 moreHono: Server-Side XSS via JSX Escaping Bypass in cx() UtilityHono is a Web application framework that provides support for any JavaScript runtime. From 4.0.0 before 4.12.27, cx() in hono/css composes class names from plain strings but marks the result as already escaped without HTML-escaping the input, allowing untrusted className values used in a JSX class attribute during server-side rendering to break out of the attribute and inject arbitrary markup. This issue is fixed in version 4.12.27.CVSS6.1MediumEPSS0.20%RoutineCVE-2026-59896honojs · hono +36 morehono/jsx does not isolate context per request, leading to cross-request data disclosureHono is a Web application framework that provides support for any JavaScript runtime. From 4.11.8 before 4.12.27, hono/jsx did not isolate context values per request during server-side rendering, allowing createContext, useContext, jsxRenderer, or useRequestContext data from a different in-flight request to be used after an await in an async component. This issue is fixed in version 4.12.27.CVSS6.5MediumEPSS0.20%RoutineCVE-2026-59897honojs · hono +36 moreHono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplicationHono is a Web application framework that provides support for any JavaScript runtime. From 4.3.3 before 4.12.27, the AWS API Gateway v1 adapter can drop a distinct repeated request header value because it de-duplicates values using a substring comparison instead of an exact match, so middleware or application logic that depends on the complete X-Forwarded-For chain, rate limiting, audit logging, or proxy-chain validation can receive incomplete data. This issue is fixed in version 4.12.27.CVSS5.3MediumEPSS0.13%RoutineCVE-2025-71381hono +8 moreHono - Vary Header Injection in CORS MiddlewareHono before 4.10.3 contains a flaw in its CORS middleware: when the origin is not set to "*", the middleware copies the Vary header from the incoming request into the response. Because Vary is a response header that should be managed by the server, an attacker can supply arbitrary Vary values that are reflected into the response, potentially causing cache key pollution and inconsistent CORS enforcement in environments that rely on shared caches or proxies.CVSS6.9MediumEPSS0.30%RoutineCVE-2026-56761hono +25 morehono - HTML Injection via Improper JSX Attribute Name Handling in SSRhono before 4.12.14 contains an html injection vulnerability in jsx server-side rendering that allows attackers to inject unintended html by using malformed attribute names. Attackers can craft specially crafted attribute keys containing characters like quotes or angle brackets to break html tag boundaries and inject arbitrary attributes or elements.CVSS5.3MediumEPSS0.17%RoutineCVE-2026-56762hono +21 moreHono - Missing Cookie Name Validation in setCookie()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.CVSS6.9MediumEPSS0.25%RoutineCVE-2026-47673honojs · hono +19 moreHono: JWT middleware accepts any Authorization scheme, not only BearerHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the jwt and jwk middlewares do not verify that the Authorization header value uses theBearer scheme. Any two-part header value — regardless of the scheme name in the first position — proceeds to JWT verification. A request presenting a valid JWT under a non-Bearer scheme identifier (such as Basic or Token) is authenticated identically to a correctly formed Bearer request. This vulnerability is fixed in 4.12.21.CVSS6.5MediumEPSS0.20%RoutineCVE-2026-47674honojs · hono +19 moreHono: IP Restriction bypasses static deny rules for non-canonical IPv6Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the ip-restriction middleware (hono/ip-restriction) compares incoming IP addresses against configured deny and allow rules using string equality after partial normalization. Non-canonical IPv6 representations of an address already listed in a static rule — such as compressed forms, explicit-zero forms, or hex-notation IPv4-mapped addresses — do not match the normalized rule entry, causing the rule to be silently skipped. This vulnerability is fixed in 4.12.21.CVSS5.3MediumEPSS0.24%RoutineCVE-2026-47675honojs · hono +19 moreHono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injectionHono 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.CVSS5.3MediumEPSS0.22%RoutineCVE-2026-47676honojs · hono +19 moreHono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded pathsHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, app.mount() strips the mount prefix from the incoming request path using the raw URL pathname, while route matching is performed against the percent-decoded path. This inconsistency causes the prefix to be stripped at the wrong position when the path contains percent-encoded multi-byte characters, resulting in the mounted sub-application receiving an incorrect path. This vulnerability is fixed in 4.12.21.CVSS5.3MediumEPSS0.26%RoutineCVE-2026-44459honojs · hono +32 moreHono: Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, improper validation of the JWT NumericDate claims exp, nbf, and iat in hono/utils/jwt allows tokens with non-spec-compliant claim values to silently bypass time-based checks. This issue is not exploitable by an anonymous attacker; it only manifests when a malformed claim value reaches verify() — typically when the application itself issues such tokens, or when the signing key is otherwise under attacker control. This vulnerability is fixed in 4.12.18.CVSS3.8LowEPSS0.22%RoutineCVE-2026-44458honojs · hono +32 moreHono: CSS Declaration Injection via Style Object Values in JSX SSRHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, the JSX renderer escapes style attribute object values for HTML but not for CSS. Untrusted input in a style object value or property name can therefore inject additional CSS declarations into the rendered style attribute. The impact is limited to CSS and does not allow JavaScript execution or HTML attribute breakout. This vulnerability is fixed in 4.12.18.CVSS4.3MediumEPSS0.20%RoutineCVE-2026-44457honojs · hono +32 moreHono: Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakageHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, Cache Middleware does not skip caching for responses that declare per-user variance via Vary: Authorization or Vary: Cookie. As a result, a response cached for one authenticated user may be served to subsequent requests from different users. This vulnerability is fixed in 4.12.18.CVSS5.3MediumEPSS0.20%RoutineCVE-2026-44456honojs · hono +27 moreHono: bodyLimit() can be bypassed for chunked / unknown-length requestsHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.16, bodyLimit() does not reliably enforce maxSize for requests without a usable Content-Length (e.g. Transfer-Encoding: chunked). Oversized requests can reach handlers and return 200 instead of 413. This vulnerability is fixed in 4.12.16.CVSS6.5MediumEPSS0.22%RoutineCVE-2026-44455honojs · hono +27 moreHono: Unvalidated JSX Tag Names in hono/jsx May Allow HTML InjectionHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.16, Improper handling of JSX element tag names in hono/jsx allowed unvalidated tag names to be directly inserted into the generated HTML output. When untrusted input is used as a tag name via the programmatic jsx() or createElement() APIs during server-side rendering, specially crafted values may break out of the intended element context and inject unintended HTML. This vulnerability is fixed in 4.12.16.CVSS6.1MediumEPSS0.14%RoutineCVE-2026-39410honojs · hono +23 moreHono has a non-breaking space prefix bypass in cookie name handling in getCookie()Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a discrepancy between browser cookie parsing and parse() handling allows cookie prefix protections to be bypassed. Cookie names that are treated as distinct by the browser may be normalized to the same key by parse(), allowing attacker-controlled cookies to override legitimate ones. This vulnerability is fixed in 4.12.12.CVSS4.8MediumEPSS0.32%RoutineCVE-2026-39409honojs · hono +23 moreHono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addressesHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, ipRestriction() does not canonicalize IPv4-mapped IPv6 client addresses (e.g. ::ffff:127.0.0.1) before applying IPv4 allow or deny rules. In environments such as Node.js dual-stack, this can cause IPv4 rules to fail to match, leading to unintended authorization behavior. This vulnerability is fixed in 4.12.12.CVSS6.3MediumEPSS0.38%RoutineCVE-2026-39408honojs · hono +23 moreHono has a path traversal in toSSG() allows writing files outside the output directoryHono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path traversal issue in toSSG() allows files to be written outside the configured output directory during static site generation. When using dynamic route parameters via ssgParams, specially crafted values can cause generated file paths to escape the intended output directory. This vulnerability is fixed in 4.12.12.CVSS7.5HighEPSS0.48%