{"id":"CVE-2023-50710","published":"2023-12-14T17:22:26Z","modified":"2024-08-02T22:16:47Z","title":"Hono's named path parameters can be overridden in TrieRouter","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"Hono is a web framework written in TypeScript. Prior to version 3.11.7, clients may override named path parameter values from previous requests if the application is using TrieRouter. So, there is a risk that a privileged user may use unintended parameters when deleting REST API resources. TrieRouter is used either explicitly or when the application matches a pattern that is not supported by the default RegExpRouter. Version 3.11.7 includes the change to fix this issue. As a workaround, avoid using TrieRouter directly.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00689,"percentile":0.48016,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/releases/tag/v3.11.7","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":9.6},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 3.11.7"]}],"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<3.11.7"],"patched":["3.11.7"],"from":["GHSA-f6gv-hh8j-q8vq"],"provenance":"source"}],"summary":{"text":"The flaw is in the TrieRouter component of Hono, a TypeScript web framework, where named path parameter values from previous requests can be overridden by clients. An attacker who can send requests to an application using TrieRouter, either explicitly or via a route pattern unsupported by the default RegExpRouter, can make it act on unintended parameters, such as when deleting REST API resources, though this requires the target user to take an action, such as following a crafted link or visiting a page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:54Z"},"euvd":{"id":"EUVD-2023-3193","exploited":false,"provenance":"source"}}