Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
CVE-2026-126359
Summary The css helper in hono/css escapes a / that follows . During server-side rendering the element is closed early and the rest of the value is interpreted as HTML. This issue arises only when < is the last character before an interpolation in a css template, either written in the template or supplied by a preceding value, and the interpolated value is controlled by a client. Impact A client that controls such a value can inject HTML, including script, into the page rendered on the server. This may lead to: Execution of attacker-controlled script in the browser of a user who views the page Exposure of information available to that page This issue affects applications that interpolate untrusted strings into a css template immediately after a <, including two adjacent interpolations such as ${prefix}${name} where both are untrusted. Other uses of the css helper are not affected. Workarounds Do not interpolate untrusted values into css templates, or make sure the text before an interpolated value does not end with <.
Assessment
- CVSS
- 3.4 (v3.1)
- Severity
- Low
- EPSS
- 0.00262% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 12 November 2026
- Last updated
- 12 November 2026
- Affected
- hono
- Weakness
- CWE-79
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-126359