p PatchFirst

PatchFirst · Latest vulnerabilities

hono 4.12.21: known vulnerabilities

Known vulnerabilities affecting hono 4.12.21: 17. Compare the fixes below with your installed release.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 17

  1. CVE-2026-109955

    Medium · CVSS 6.9EPSS 0.31%Fix available

    Hono 4.12.4 before 4.13.11 Middleware Bypass via serveStatic Double Decoding

    Hono from 4.12.4 before 4.13.11 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting double path decoding. Attackers can send malformed percent-encoded paths that the router matches in encoded form, reaching static files without authentication checks running.

    • Update to 4.13.11
    Published Updated
  2. CVE-2026-93981

    Low · CVSS 2.3EPSS 0.23%Fix available

    hono/jsx before 4.13.7 Cross-Site Scripting via Unescaped Strings

    hono before 4.13.7 fails to HTML-escape plain strings rendered by hono/jsx as a child or fallback of Suspense, as a string child of ErrorBoundary alongside an asynchronous sibling, as the single child of a Context.Provider, or as the root value passed to renderToString() or renderToReadableStream() from hono/jsx/dom/server. These paths stringify their input and treat the result as already-escaped markup, so an attacker who controls such a string during server-side rendering can inject arbitrary HTML and execute script under the application's origin.

    • Update to 4.13.7
    Published Updated
  3. CVE-2026-84365

    Medium · CVSS 6.5EPSS 0.44%Fix available

    Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory

    Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.12 until 4.13.5, the fix released for CVE-2026-39408 does not cover every traversal sequence, and toSSG() can still write files outside the configured output directory when a route parameter contains consecutive parent-directory segments. Static site generation builds each output path from the route path and values supplied through ssgParams, then verifies that the result stays inside the output directory using the same normalization routine that built the path. That routine does not fully collapse runs of consecutive parent-directory segments, all

    • Update to 4.13.5
    Published Updated
  4. CVE-2026-84364

    Medium · CVSS 5.3EPSS 0.53%Fix available

    Hono: Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.13.5, when parseBody() expands dot-separated form field names into nested objects with dot-notation parsing enabled, it does not limit the nesting depth or the total number of intermediate objects created. Empty segments are preserved, so one deeply dotted field name can encode one nesting level per byte, while a large number of shallowly dotted fields can create the same amplification across a request. A request body within a normal size limit can therefore allocate an object graph far larger than the request after the body has already been accep

    • Update to 4.13.5
    Published Updated
  5. CVE-2026-84363

    Medium · CVSS 5.9EPSS 0.45%Fix available

    Hono: Query parser reads parameters after the URL fragment, causing cache-key and proxy interpretation differentials

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.13.5, Hono's query helpers treat a question mark after a literal hash fragment as the start of a query string, so the application can read request parameters that browsers, new URL(), reverse proxies, filtering rules, parameter allow and deny lists, access logging, request validation, and other middleware do not observe. The Cache Middleware removes the fragment when building its cache key, allowing a response influenced by parameters inside the fragment to be stored under a key that omits those parameters and later served to other users. This can

    • Update to 4.13.5
    Published Updated
  6. CVE-2026-69207

    Medium · CVSS 5.3EPSS 0.61%Fix available

    Hono: ReDoS in CORS middleware via Access-Control-Request-Headers

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.34, the built-in CORS middleware, hono/cors, is vulnerable to a regular expression denial of service (ReDoS). During a preflight OPTIONS request, the middleware parses the attacker-controlled Access-Control-Request-Headers header using a whitespace-tolerant regular expression whose backtracking makes its running time quadratic in the input length. Because the header value is bounded only by the deployment's maximum HTTP header size, a single preflight carrying a long run of whitespace can consume seconds of CPU and block request processing. On

    • Update to 4.12.34
    Published Updated
  7. CVE-2026-71850

    Medium · CVSS 4.8EPSS 0.27%Fix available

    Hono: `memo()` retains SSR output across requests, leading to cross-user data disclosure

    Hono is a Web application framework that provides support for any JavaScript runtime. From 3.8.0 to 4.12.33, memo() from hono/jsx retains the result of a server side render and reuses it for later renders with comparator equal props, and request scoped values read inside the component take no part in that comparison, so a response can contain HTML rendered for another user's request. Components wrapped with memo() are compared by props alone; values read implicitly during rendering, such as JSX Context through createContext() and useContext(), useRequestContext() from hono/jsx-renderer, and getContext() from hono/context-storage, do not parti

    • Update to 4.12.34
    Published Updated
  8. CVE-2026-71849

    Low · CVSS 3.7EPSS 0.36%Fix available

    Hono: Proxy Helper does not remove response headers listed in the `Connection` header

    Hono is a Web application framework that provides support for any JavaScript runtime. From 4.7.0 to 4.12.33, the Proxy Helper proxy() function in hono/proxy does not remove response headers named by the origin's Connection header. Per RFC 9110 Section 7.6.1, an intermediary must remove the header fields listed in a message's Connection header field before forwarding the message, in addition to the well known hop by hop headers, but the proxy() function only removed the well known hop by hop headers, including Connection itself, from origin responses. A client may therefore receive response headers that the origin intended only for its immedia

    • Update to 4.12.34
    Published Updated
  9. CVE-2026-71848

    Medium · CVSS 5.3EPSS 0.51%Fix available

    Hono: Algorithmic Complexity DoS in Language Middleware

    Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.0 to 4.12.33, the languageDetector middleware is vulnerable to algorithmic complexity denial of service when processing a crafted language tag containing a large number of hyphen separated subtags. To implement progressive language tag truncation, normalizeLanguage() repeatedly calls parts.slice(0, i).join('-') for every possible prefix, so the total amount of string processing grows quadratically with the number of subtags. Language values may come from a query parameter, cookie, Accept-Language header, or URL path, depending on the detector confi

    • Update to 4.12.34
    Published Updated
  10. CVE-2026-59895

    Medium · CVSS 6.1EPSS 0.33%Fix available

    Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility

    Hono 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.

    • Update to 4.12.27
    Published Updated
  11. CVE-2026-59896

    Medium · CVSS 6.5EPSS 0.3%Fix available

    hono/jsx does not isolate context per request, leading to cross-request data disclosure

    Hono 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.

    • Update to 4.12.27
    Published Updated
  12. CVE-2026-59897

    Medium · CVSS 4.8EPSS 0.18%Fix available

    Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication

    Hono 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.

    • Update to 4.12.27
    Published Updated
  13. CVE-2026-54288

    Medium · CVSS 6.5EPSS 0.15%Fix available

    Hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length`

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, the Body Limit Middleware trusts the request's Content-Length header to decide whether a body is within the limit. On AWS Lambda (API Gateway v1/v2, ALB, VPC Lattice, and Lambda@Edge) the body is delivered fully buffered and the adapter builds the request with the client-declared Content-Length, which need not match the actual payload. A client can declare a tiny Content-Length while sending a much larger body, slipping past the limit. This vulnerability is fixed in 4.12.25.

    • Update to 4.12.25
    Published Updated
  14. CVE-2026-54289

    Medium · CVSS 4.8EPSS 0.18%Fix available

    Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on AWS Lambda@Edge, CloudFront delivers a request header that appears more than once as several separate entries. The adapter writes each value with Headers.set instead of Headers.append, so every value overwrites the previous one and only the last reaches the application. Repeated request headers such as X-Forwarded-For, Forwarded, and Via are silently truncated to a single value. Request middleware sees only the last value of a repeated header instead of the full chain. For applications that base access control on the X-Forwarded-For chai

    • Update to 4.12.25
    Published Updated
  15. CVE-2026-54290

    High · CVSS 7.1EPSS 0.33%Fix available

    Hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, with credentials: true and no explicit origin (the default wildcard), the CORS Middleware reflects the request's Origin and sends Access-Control-Allow-Credentials: true. Any site can then make credentialed cross-origin requests and read the responses, exposing cookie-authenticated endpoints to arbitrary origins. This vulnerability is fixed in 4.12.25.

    • Update to 4.12.25
    Published Updated
  16. CVE-2026-54286

    Medium · CVSS 5.9EPSS 0.43%Fix available

    Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on Windows hosts, an encoded backslash (%5C) in the request path decodes to \, which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static files meant to be protected behind prefix-mounted middleware. This vulnerability is fixed in 4.12.25.

    • Update to 4.12.25
    Published Updated
  17. CVE-2026-54287

    Medium · CVSS 5.3EPSS 0.31%Fix available

    Hono: AWS Lambda adapter merges multiple `Set-Cookie` headers into one value, dropping cookies on ALB single-header and Lattice

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on AWS Lambda, the ALB single-header response and the VPC Lattice v2 response join multiple Set-Cookie headers into one comma-separated value. Because commas also appear inside cookie attributes (for example Expires dates), clients cannot split the value back into individual cookies and silently drop or misparse them. This vulnerability is fixed in 4.12.25.

    • Update to 4.12.25
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →