Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths (honojs hono)
En bref
- Source
- NVD
- EPSS
- EPSS 0.26 % · centile 18 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, app.mount() strips the mount prefix from the incoming request path using the raw URL pathname, while route matching is performed against the percent-decoded path. This inconsistency causes the prefix to be stripped at the wrong position when the path contains percent-encoded multi-byte characters, resulting in the mounted sub-application receiving an incorrect path. This vulnerability is fixed in 4.12.21.
Faiblesses (CWE)
- CWE-444 — Dissimulation de requête ou de réponse HTTP
- CWE-693 — Défaillance du mécanisme de protection
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-2gcr-mfcq-wcc3 — Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths
Références européennes
- ENISA EUVD · EUVD-2026-32924
- GCVE · GCVE-0-2026-47676
Configurations affectées (CPE NVD)
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*< 4.12.21
Produits affectés
| Produit | Versions |
|---|---|
| honojs · hono | affected < 4.12.21 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |