CVE-2026-126359
Low 3.4No known exploitationFix availableHono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
Vendor advisory: GHSA-3gg2-335m-rxc6
Record last updated
CVSS score
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 18% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 3.12.0 until 4.13.16, the css helper in hono/css escapes interpolated string values separately and therefore fails to neutralize a closing style tag when < ends the template text or a preceding value and / begins the next attacker-controlled value. During server-side rendering, the combined output can close the <Style /> element early and cause the remainder of the interpolated value to be interpreted as HTML. Applications that place an untrusted string immediately after < in a css template, including adjacent untrusted interpolations, can expose viewers to attacker-controlled HTML or script and information accessible to that page. Other uses of the css helper are not affected. This issue is fixed in version 4.13.16.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | hono | from 3.12.0 up to and including 4.13.15 | 4.13.16 | GitHub Advisory Database |
Timeline
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-3gg2-335m-rxc6 (opens in a new tab)github-advisory
- https://github.com/honojs/hono/commit/15bbd96ad1b62a0b189db4fd8dc7bf8ef280c513 (opens in a new tab)
- https://github.com/honojs/hono/releases/tag/v4.13.16 (opens in a new tab)
- https://github.com/honojs/hono/security/advisories/GHSA-3gg2-335m-rxc6 (opens in a new tab)