Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2023-50710

CVE-2023-50710: Improper Control of Generation of Code ('Code Injection')

December 14, 2023 (updated December 19, 2023)

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.

References

  • github.com/advisories/GHSA-f6gv-hh8j-q8vq
  • github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8
  • github.com/honojs/hono/releases/tag/v3.11.7
  • github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq
  • nvd.nist.gov/vuln/detail/CVE-2023-50710

Code Behaviors & Features

Detect and mitigate CVE-2023-50710 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.11.7

Fixed versions

  • 3.11.7

Solution

Upgrade to version 3.11.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/hono/CVE-2023-50710.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:32 +0000.