Hono: CSS Declaration Injection via Style Object Values in JSX SSR (honojs hono)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % Β· percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, the JSX renderer escapes style attribute object values for HTML but not for CSS. Untrusted input in a style object value or property name can therefore inject additional CSS declarations into the rendered style attribute. The impact is limited to CSS and does not allow JavaScript execution or HTML attribute breakout. This vulnerability is fixed in 4.12.18.
Weaknesses (CWE)
- CWE-74 β Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-116 β Improper Encoding or Escaping of Output
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-qp7p-654g-cw7p β Hono has CSS Declaration Injection via Style Object Values in JSX SSR
European references
- ENISA EUVD Β· EUVD-2026-30037
- GCVE Β· GCVE-0-2026-44458
Affected configurations (NVD CPE)
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*< 4.12.18
Affected products
| Product | Versions |
|---|---|
| honojs Β· hono | affected < 4.12.18 |
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 |