Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility (honojs hono)
En bref
- Source
- NVD
- EPSS
- EPSS 0.33 % · centile 26 ()
- É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. From 4.0.0 before 4.12.27, cx() in hono/css composes class names from plain strings but marks the result as already escaped without HTML-escaping the input, allowing untrusted className values used in a JSX class attribute during server-side rendering to break out of the attribute and inject arbitrary markup. This issue is fixed in version 4.12.27.
Faiblesses (CWE)
- CWE-79 — Injection de code indirecte (XSS)
- CWE-116 — Encodage ou échappement incorrect de la sortie
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-w62v-xxxg-mg59 — Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility
Références européennes
- ENISA EUVD · EUVD-2026-42327
- GCVE · GCVE-0-2026-59895
Configurations affectées (CPE NVD)
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*≥ 4.0.0 < 4.12.27
Produits affectés
| Produit | Versions |
|---|---|
| honojs · hono | affected >= 4.0.0, < 4.12.27 |
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 |