CVE-2026-59895
Hono is a Web application framework that provides support for any JavaScript runtime.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | hono | >= 4.0.0, < 4.12.27 | 4.12.27 |
Betroffene Produkte · Hono
| Produkt | Betroffene Versionen |
|---|---|
| Hono | ab 4.0.0 vor 4.12.27 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-w62v-xxxg-mg59
- https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59
- https://nvd.nist.gov/vuln/detail/CVE-2026-59895
- https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc
- https://github.com/honojs/hono/releases/tag/v4.12.27