Shellfeed logo Shellfeed

CVE-2026-126359 · LOW (CVSS 3.4)

Summary: Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 18.1).

Details

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.

Severity

LOW (CVSS 3.4) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Affected packages

  • npm hono [3.12.0 – 4.13.16]
  • GIT github.com/honojs/hono [3f8d1ea5116dcf81e054f4d6a9b7a4e6ef833cd9 – c91b60a251186fb024557c6d55a11d8e388f179c]

References

Posts about CVE-2026-126359