p PatchFirst

CVE-2026-126359

CVE-2026-126359 · Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection

CVSS 3.4 · Low · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • honoNo fix published
  • hono npmUpdate to 4.13.16

Check the installed version:

npm ls hono

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: node

Affected products and versions

  • hono

    Versions
    • >= 3.12.0, < 4.13.16: Affected

    No fix published

  • hono npm

    Affected ranges
    • SEMVER: ≥ 3.12.0, < 4.13.16

    Update to 4.13.16

Original sources

Check your server →