What’s Vulnerable › Vulnerabilities
CVE-2023-50710: Hono's named path parameters can be overridden in TrieRouter
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-12-14 · updated 2026-06-17
- Weakness: CWE-94
Description
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.
Affected products
- honojs hono: before 3.11.7 — fixed in 3.11.7
How to fix
Upgrade to a fixed version: honojs hono 3.11.7. Check the vendor advisory for mitigations.
References
- https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8
- https://github.com/honojs/hono/releases/tag/v3.11.7
- https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq
- https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8
- https://github.com/honojs/hono/releases/tag/v3.11.7
- https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq
Get alerted when CVE-2023-50710 or the next vulnerability affects your stack