org.mvnpm:hono@4.12.11

  • latest version

    4.13.16

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    24 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:hono package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Insufficiently Controlled Parser Differential

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Insufficiently Controlled Parser Differential via the multipartRegex pattern in src/validator/validator.ts, which only matches a multipart/form-data Content-Type carrying exactly one boundary parameter. When a request includes any additional legal parameter (such as charset) or extra whitespace after the ;, the regex fails to match, causing the validator('form') middleware to pass an empty object to the validation callback instead of the parsed form fields. If the callback accepts an empty object, the request proceeds to the handler, which can still read all submitted fields through c.req.parseBody() or c.req.formData(), effectively bypassing any allow-list or required-field checks the validator was intended to enforce.

    Note: This is only exploitable when the application uses validator('form') with multipart/form-data requests and the validation callback does not explicitly reject an empty object.

    How to fix Insufficiently Controlled Parser Differential?

    Upgrade org.mvnpm:hono to version 4.13.16 or higher.

    [4.7.10,4.13.16)
    • M
    Authentication Bypass Using an Alternate Path or Channel

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel via two flaws in the path-prefix stripping logic of mount() and app.mount(). First, when a dynamic mount prefix such as /api/:tenant/* is used, the prefix is removed by the length of the route pattern string rather than the length of the matched prefix, so a request like /api/a/xxxxx/admin/secret is forwarded to the mounted application as /admin/secret. Second, since 4.12.21, the forwarded path is built from the decoded request path and assigned to url.pathname, which causes a decoded backslash to be normalized to / and .. sequences to be collapsed, so /app/public%5C..%5Cadmin/secret also reaches the mounted application as /admin/secret. In both cases the outer application routes on the original path, so path-scoped middleware such as an authentication check on /app/admin/* does not run, and an unauthenticated client can reach protected routes of the mounted application.

    Note: This is only exploitable when mount() or app.mount() is used and authentication or authorization middleware is registered on a sub-path inside the mount prefix in the outer application.

    How to fix Authentication Bypass Using an Alternate Path or Channel?

    Upgrade org.mvnpm:hono to version 4.13.16 or higher.

    [,4.13.16)
    • L
    Cross-site Scripting (XSS)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the css helper in hono/css, which escapes </ sequences only within individual interpolated values and not across template boundaries. When the template literal or a preceding interpolated value ends with < and the next interpolated value starts with /style>, the combined output contains an unescaped </style> closing tag. During server-side rendering, this causes the <Style /> element to close early and the remainder of the value to be interpreted as HTML, allowing an attacker who controls the interpolated string to inject arbitrary HTML, including script elements, into the rendered page.

    Note: This is only exploitable when < is the last character before an interpolation in a css template (either in the template literal itself or supplied by a preceding interpolated value) and the subsequent interpolated value is attacker-controlled.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:hono to version 4.13.16 or higher.

    [4.7.10,4.13.16)
    • M
    Incorrect Authorization

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Incorrect Authorization via RegExpRouter in three distinct cases where wildcard middleware is silently skipped, allowing a request to reach a route handler or the not-found handler without the authentication or authorization middleware registered on a wildcard path. In case 1, middleware whose parameter uses an explicit default pattern such as /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id. In case 2, middleware on /admin/* is not applied to a route registered on /admin* for paths under /admin/. In case 3, a path containing an encoded line terminator (%0A, %0D, %E2%80%A8, or %E2%80%A9) matches no wildcard pattern, so the request bypasses all wildcard middleware entirely.

    Note: This is only exploitable when the application uses RegExpRouter directly or through the default SmartRouter, and relies on wildcard middleware for authentication or authorization.

    How to fix Incorrect Authorization?

    Upgrade org.mvnpm:hono to version 4.13.16 or higher.

    [4.7.10,4.13.16)
    • M
    Cross-site Request Forgery (CSRF)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the csrf() middleware's failure to validate requests with Content-Type: text/ping. The middleware only performs origin checks when the content type matches one of the three types an HTML form can send. Chromium's hyperlink auditing (<a ping>) sends a credentialed cross-origin POST with Content-Type: text/ping and no CORS preflight, which the middleware passes directly to the handler without evaluating the Origin or Sec-Fetch-Site headers. An attacker can therefore host a page that causes a visiting user in Chrome or Edge to trigger state-changing POST requests - such as logging out, deleting a resource, or toggling a setting - against any application protected by csrf(), provided the request body content is irrelevant to the action.

    Note: This is only exploitable against endpoints whose effect does not depend on the request body, and requires the user's session cookie to be sent with the request (default SameSite=Lax permits this from a same-site origin, or when cookies are set with SameSite=None).

    How to fix Cross-site Request Forgery (CSRF)?

    Upgrade org.mvnpm:hono to version 4.13.16 or higher.

    [,4.13.16)
    • M
    Double Decoding of the Same Data

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Double Decoding of the Same Data via double URL-decoding in the serveStatic middleware, where a percent-encoded path is decoded a second time after routing. An attacker can supply a request path containing percent-encoded sequences that, after the additional decoding pass, resolve to a path that bypasses access controls, allowing unauthorized read access to protected static files.

    How to fix Double Decoding of the Same Data?

    Upgrade org.mvnpm:hono to version 4.13.11 or higher.

    [4.12.5,4.13.11)
    • L
    Cross-site Scripting (XSS)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via insufficient server-side HTML escaping in the JSX rendering pipeline. Untrusted values - including array roots, boundary objects, fallback objects, and provider objects - are passed through childrenToString and related rendering paths without being escaped, allowing an attacker to inject arbitrary HTML or JavaScript into server-rendered output. A remote attacker can supply a malicious string through any of these unescaped rendering paths to execute scripts in a victim's browser.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:hono to version 4.13.7 or higher.

    [,4.13.7)
    • M
    Asymmetric Resource Consumption (Amplification)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the parseBody() function, which expands dot-separated form field names into nested objects without limiting nesting depth or total object creation. An attacker can exhaust the JavaScript heap and terminate the server process by sending concurrent requests with deeply dotted field names, since a body within the normal size limit allocates an object graph far larger than the request itself. This requires the endpoint to have dot-notation parsing enabled, which is off by default.

    How to fix Asymmetric Resource Consumption (Amplification)?

    Upgrade org.mvnpm:hono to version 4.13.5 or higher.

    [,4.13.5)
    • H
    HTTP Request Smuggling

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to HTTP Request Smuggling in its query parsing helpers, which do not terminate at the URL fragment and parse a ? appearing after a # as the start of the query string. An attacker can smuggle parameters past upstream allow/deny lists and validation, poison cache entries with unobserved parameters, or achieve stored XSS in cached HTML, by placing query parameters after a # fragment so browsers, new URL(), and reverse proxies ignore them while the query helpers still read them. This requires a literal # in the request URL to reach the application, and deployments behind intermediaries that strip fragments or runtimes that normalize URLs, such as Cloudflare Workers, are unaffected.

    How to fix HTTP Request Smuggling?

    Upgrade org.mvnpm:hono to version 4.13.5 or higher.

    [,4.13.5)
    • H
    Directory Traversal

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Directory Traversal in the toSSG() static site generation function, whose path normalization does not fully collapse runs of consecutive .. segments and treats output directories that differ only in how they are rooted as equivalent. An attacker can cause build output to be written outside the intended output directory by supplying a route parameter with enough .. sequences that reaches ssgParams from an untrusted source.

    Note: This affects build-time static site generation only, not request-time routing, and requires the application to build pages from ssgParams values sourced from untrusted origins such as a CMS, API, or user submissions.

    Note: This is a bypass of the fix for the vulnerability described in CVE-2026-39408.

    How to fix Directory Traversal?

    Upgrade org.mvnpm:hono to version 4.13.5 or higher.

    [,4.13.5)
    • M
    Inefficient Algorithmic Complexity

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the languageDetector middleware. An attacker can cause excessive CPU consumption and block unrelated requests by sending crafted language tags with a large number of hyphen-separated subtags.

    How to fix Inefficient Algorithmic Complexity?

    Upgrade org.mvnpm:hono to version 4.12.34 or higher.

    [4.12.5,4.12.34)
    • M
    HTTP Request Smuggling

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to HTTP Request Smuggling in the proxy process. An attacker can access connection-scoped or internal metadata by sending requests to an application that proxies responses from an origin specifying custom headers in the Connection response header. This is only exploitable if the origin server includes additional, non-standard headers in the Connection response header beyond the standard hop-by-hop headers.

    How to fix HTTP Request Smuggling?

    Upgrade org.mvnpm:hono to version 4.12.34 or higher.

    [4.7.10,4.12.34)
    • M
    Exposure of Data Element to Wrong Session

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Exposure of Data Element to Wrong Session in the memo function. An attacker can access sensitive information belonging to other users by sending requests that trigger the reuse of server-side rendered HTML when components wrapped in memo obtain user- or request-specific data from an ambient context instead of through props. This is only exploitable if the application renders with server-side rendering using hono/jsx, wraps a component reading ambient request state in memo, and both requests reach the same warm instance.

    How to fix Exposure of Data Element to Wrong Session?

    Upgrade org.mvnpm:hono to version 4.12.34 or higher.

    [4.7.10,4.12.34)
    • M
    Regular Expression Denial of Service (ReDoS)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the cors middleware during the parsing of the Access-Control-Request-Headers header via a regular expression with quadratic runtime complexity. An attacker can cause excessive CPU consumption and degrade or deny service by sending specially crafted preflight requests containing long runs of whitespace in the header value.

    Note: This is only exploitable if the allowHeaders option is left unset or empty in the middleware configuration.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade org.mvnpm:hono to version 4.12.34 or higher.

    [,4.12.34)
    • H
    Race Condition

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Race Condition through server-side rendering context handling in createContext and useContext. An attacker can read another in-flight request’s provided value by causing an async component to suspend on await and then resume while concurrent SSR requests are rendering through the same provider stack. When useContext() is called after the suspension point, the render can observe a value from a different request instead of its own session-scoped data. This can leak user-specific HTML or cause authorization checks and other request-scoped decisions to use the wrong user’s context.

    Notes

    • On runtimes without AsyncLocalStorage, the vulnerable path falls back to a process-local store only for synchronous work; a useContext() read after await in an async SSR component can therefore degrade to the context’s default value rather than retain the request’s provided value.
    • The leak is limited to server-side rendering in the async-suspension path; synchronous components and client-side DOM rendering are not part of the affected execution flow.

    How to fix Race Condition?

    Upgrade org.mvnpm:hono to version 4.12.27 or higher.

    [4.12.5,4.12.27)
    • M
    Use of Less Trusted Source

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Use of Less Trusted Source through the getHeaders processing in the AWS API Gateway v1 EventV1Processor and the Lattice LatticeV2Processor. An attacker can cause a repeated header value to be dropped by sending the same header multiple times, with one value as a substring of another, such as 203.0.113.1 alongside 203.0.113.10. This leaves the application with an incomplete Headers list that does not match the client's sent list. Middleware or application logic that depends on the full repeated header chain, such as IP filtering, audit logging, rate limiting, or proxy validation, can then make the wrong decision.

    Notes

    • The vulnerable path is the adapter’s merged-header handling: repeated values from multiValueHeaders/array-valued headers are collapsed before the app sees them, so deployments that rely on repeated request headers for X-Forwarded-For-style chain processing or similar middleware logic can receive an incomplete list.
    • In AWS API Gateway v1, the single-value headers map is also consulted during request construction, so the issue is specific to the adapter’s event-to-Headers conversion rather than the upstream service; the maintainer's advisory affected scope is Hono deployments using that adapter path, with the same behavior mirrored in the Lattice V2 adapter.

    How to fix Use of Less Trusted Source?

    Upgrade org.mvnpm:hono to version 4.12.27 or higher.

    [4.7.10,4.12.27)
    • M
    Cross-site Scripting (XSS)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the cx() class-name handling in src/helper/css/index.ts. An attacker can inject arbitrary HTML into rendered JSX by supplying a malicious class string to cx() during server-side rendering, causing the class attribute to be emitted without HTML escaping. The vulnerable path treats the composed class name as already escaped, so quote characters and other attribute-breaking input pass through into the page markup. In applications that render JSX on the server and merge untrusted input into cx(), this lets an attacker break out of the class attribute and execute attacker-controlled script in the victim’s browser.

    Notes

    • Applications are affected only when server-side rendering is used; client-side rendering paths do not pass the cx() result through JSX HTML escaping in the same way.
    • The breakout payload can be merged through any user-controlled class string passed into cx(), including values coming from a className prop or other externally supplied styling hooks, not just direct literal calls.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:hono to version 4.12.27 or higher.

    [4.7.10,4.12.27)
    • H
    Permissive Cross-domain Policy with Untrusted Domains

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Permissive Cross-domain Policy with Untrusted Domains in the CORS middleware. An attacker can access sensitive information and perform unauthorized actions by sending cross-origin requests with credentials from arbitrary origins. This is only exploitable if the application enables credentials and leaves the origin unset or set to the wildcard.

    How to fix Permissive Cross-domain Policy with Untrusted Domains?

    Upgrade org.mvnpm:hono to version 4.12.25 or higher.

    [,4.12.25)
    • M
    Improper Encoding or Escaping of Output

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the AWS Lambda adapter's handling of multiple Set-Cookie headers. An attacker can cause clients to drop or misinterpret cookies by triggering responses that set multiple cookies, leading to broken sessions, forced re-authentication, or failure of preference and CSRF cookies. This is only exploitable if the application is deployed on AWS Lambda behind an ALB in single-header mode or VPC Lattice v2.

    How to fix Improper Encoding or Escaping of Output?

    Upgrade org.mvnpm:hono to version 4.12.25 or higher.

    [,4.12.25)
    • H
    Directory Traversal

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Directory Traversal via the serve-static method on Windows hosts when an encoded backslash (%5C) in the request path is decoded to \, which is treated as a separator by the Windows path resolver. An attacker can access static files that are intended to be protected behind prefix-mounted middleware by crafting a request path containing an encoded backslash.

    How to fix Directory Traversal?

    Upgrade org.mvnpm:hono to version 4.12.25 or higher.

    [,4.12.25)
    • M
    Improperly Implemented Security Check for Standard

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Improperly Implemented Security Check for Standard in the Lambda@Edge adapter that truncates repeated request headers. An attacker can bypass access restrictions or affect auditing mechanisms by sending repeated request headers, causing only the last value to be processed and earlier values to be ignored.

    How to fix Improperly Implemented Security Check for Standard?

    Upgrade org.mvnpm:hono to version 4.12.25 or higher.

    [,4.12.25)
    • M
    Insufficient Verification of Data Authenticity

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in the Body Limit Middleware. An attacker can cause the application to process payloads larger than the configured maximum by understating the Content-Length header in requests on AWS Lambda environments, leading to increased CPU and memory usage per request.

    How to fix Insufficient Verification of Data Authenticity?

    Upgrade org.mvnpm:hono to version 4.12.25 or higher.

    [,4.12.25)
    • M
    Incorrect Regular Expression

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Incorrect Regular Expression via the ip-restriction middleware. An attacker can bypass configured deny rules for IPv6 addresses by submitting non-canonical representations, such as compressed or explicit-zero forms, causing the rule to be skipped.

    How to fix Incorrect Regular Expression?

    Upgrade org.mvnpm:hono to version 4.12.21 or higher.

    [,4.12.21)
    • M
    HTTP Response Splitting

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to HTTP Response Splitting via the serialize function. An attacker can inject arbitrary attributes into the Set-Cookie response header by supplying crafted input to the sameSite or priority options.

    How to fix HTTP Response Splitting?

    Upgrade org.mvnpm:hono to version 4.12.21 or higher.

    [,4.12.21)
    • M
    Improper Authorization

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Improper Authorization via the jwt middleware when the Authorization header uses any scheme, not just Bearer. An attacker can gain unauthorized access by presenting a valid JWT under a non-Bearer scheme identifier.

    How to fix Improper Authorization?

    Upgrade org.mvnpm:hono to version 4.12.21 or higher.

    [,4.12.21)
    • M
    HTTP Request Smuggling

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to HTTP Request Smuggling via the app.mount function. An attacker can access unintended routes or resources by sending requests with percent-encoded multi-byte characters in the URL path, leading to incorrect routing.

    How to fix HTTP Request Smuggling?

    Upgrade org.mvnpm:hono to version 4.12.21 or higher.

    [,4.12.21)
    • M
    Use of Cache Containing Sensitive Information

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information through the cache process in the cache middleware. An attacker can cause responses to be cached or served incorrectly by sending requests that elicit Vary headers, Authorization headers, or non-GET methods. As a result, users can receive stale or cross-request content, and authenticated or method-specific responses can be stored or reused in ways that break application behavior and expose the wrong response body.

    Workarounds

    • Avoid using the cache middleware on endpoints that return authenticated or per-user content unless you can mark those responses as non-cacheable; this prevents cross-user cache leakage and stale user-specific bodies.

    How to fix Use of Cache Containing Sensitive Information?

    Upgrade org.mvnpm:hono to version 4.12.18 or higher.

    [4.7.10,4.12.18)
    • M
    Improper Validation of Specified Quantity in Input

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input through the verify function in the JWT component. An attacker can supply a signed token with malformed nbf, exp, or iat claims, including non-numeric values or non-finite numbers such as 1e400, to have the claims skipped during validation and use a token that should be rejected. This lets an attacker present tokens with invalid time-based claims and gain unauthorized access to protected JWT-backed functionality.

    Note: This is only exploitable if the attacker can issue tokens accepted by the application or has control over the signing key.

    How to fix Improper Validation of Specified Quantity in Input?

    Upgrade org.mvnpm:hono to version 4.12.18 or higher.

    [4.7.10,4.12.18)
    • M
    Improper Encoding or Escaping of Output

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output the styleObjectForEach and jsxAttr style serialization paths in the JSX runtime. An attacker can inject arbitrary CSS declarations by supplying crafted style object values or property names containing declaration separators such as ;, comments, braces, or other CSS syntax, causing the generated style attribute to include attacker-controlled rules. When application code renders untrusted style objects, the injected CSS can override the page's layout and presentation, hide or reposition content, and load attacker-controlled resources in the victim’s browser, but does not enable JavaScript execution or HTML attribute breakout.

    How to fix Improper Encoding or Escaping of Output?

    Upgrade org.mvnpm:hono to version 4.12.18 or higher.

    [4.7.10,4.12.18)
    • H
    Allocation of Resources Without Limits or Throttling

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the bodyLimit function. An attacker can bypass request size restrictions by sending chunked or unknown-length requests, allowing oversized payloads to reach application handlers and potentially receive successful responses before the size check is enforced.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.mvnpm:hono to version 4.12.16 or higher.

    [,4.12.16)
    • L
    HTML Injection

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to HTML Injection via the jsx element tag. An attacker can inject unintended HTML elements or attributes, corrupt the HTML structure, or execute scripts by supplying malicious tag names as input to the rendering process.

    Note: This is only exploitable if applications construct JSX tag names from untrusted input; applications using static or allowlisted tag names are not affected.

    How to fix HTML Injection?

    Upgrade org.mvnpm:hono to version 4.12.16 or higher.

    [,4.12.16)
    • M
    Cross-site Scripting (XSS)

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the jsxAttr() and JSX attribute rendering paths in src/jsx/jsx-runtime.ts, src/jsx/base.ts, and src/jsx/dom/render.ts. An attacker can inject executable markup by supplying a crafted attribute name such as one containing quotes, angle brackets, or spaces through JSX props or spread attributes. This lets untrusted input break out of the intended attribute context during server-rendered output or DOM updates, leading to script execution in the user’s browser and compromising the affected page.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:hono to version 4.12.14 or higher.

    [,4.12.14)
    • M
    Incorrect Behavior Order: Validate Before Canonicalize

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Incorrect Behavior Order: Validate Before Canonicalize in the ipRestriction function. An attacker can bypass access restrictions by sending requests from IPv4-mapped IPv6 addresses, which are not properly matched against IPv4 allow or deny rules.

    How to fix Incorrect Behavior Order: Validate Before Canonicalize?

    Upgrade org.mvnpm:hono to version 4.12.12 or higher.

    [,4.12.12)
    • M
    Directory Traversal

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Directory Traversal in the toSSG function when handling dynamic route parameters provided via ssgParams. An attacker can cause files to be written outside the intended output directory by supplying specially crafted values containing traversal sequences during static site generation.

    Note:

    This is only exploitable if an attacker can influence the values passed to ssgParams during the build process.

    How to fix Directory Traversal?

    Upgrade org.mvnpm:hono to version 4.12.12 or higher.

    [4.7.10,4.12.12)
    • M
    Improper Input Validation

    org.mvnpm: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.

    How to fix Improper Input Validation?

    Upgrade org.mvnpm:hono to version 4.12.12 or higher.

    [,4.12.12)
    • M
    HTTP Response Splitting

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to HTTP Response Splitting via the setCookie function. An attacker can cause runtime errors and potentially disrupt application behavior by supplying specially crafted input as the cookie name, leading to malformed Set-Cookie header values.

    How to fix HTTP Response Splitting?

    Upgrade org.mvnpm:hono to version 4.12.12 or higher.

    [,4.12.12)
    • M
    Directory Traversal

    org.mvnpm:hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Directory Traversal via the serveStatic function. An attacker can access sensitive static files intended to be protected by route-based middleware by crafting request paths with repeated slashes, thereby bypassing authorization checks.

    How to fix Directory Traversal?

    Upgrade org.mvnpm:hono to version 4.12.12 or higher.

    [,4.12.12)