Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app interpolating untrusted value after '<' in css template
-
DeliverySubmit value starting with '/style>' plus HTML/script payload
-
ExploitSSR assembles unescaped </style>, closing <Style /> early
-
ExecutionVictim loads the server-rendered page
-
ImpactInjected script executes, exposing page-accessible data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application itself uses the hono/css css helper and interpolates a client-controlled string into a css template immediately after a literal '<' during server-side rendering - including two adjacent untrusted interpolations like ${prefix}${name}, or a '<' supplied by a preceding value, after which minification/comment-removal can also join '<' and '/' across parts. The attacker-controlled value must begin with '/' (e.g. '/style>...') to form the closing tag. Limiting factors: the dangerous template pattern is non-default developer code, not a built-in feature, so most hono/css usage is unaffected ('Other uses of the css helper are not affected'); the vector is unauthenticated (PR:N) but requires user interaction (UI:R) - a victim must view the rendered page; and only Hono versions 3.12.0 through 4.13.15 are affected. The only complete fix per the vendor is updating to 4.13.16; the stated workaround is to avoid interpolating untrusted values into css templates or ensure the text before an interpolation does not end with '<'. |
| Impact | This is a genuine but low-urgency issue, and the signals are consistent rather than conflicting. The CVSS base score is 3.4 (Low) with vector AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N: network-reachable and unauthenticated, but gated by high attack complexity and required user interaction (a victim must render/view the affected page). The vuln.today decision label is 'monitor', not act_now or emergency, which aligns with the low score. No KEV listing and no EPSS value were provided in the input, so there is no signal of active or probable exploitation; absence of these is not evidence of safety but does lower prioritization. No working exploit code is supplied - the GitHub advisory and the fix commit's regression tests demonstrate the injection mechanism (e.g. a payload of the form '/style><img src=x onerror=alert(1)>'), but these are fix artifacts, not a packaged exploit. The practical limiter is real: AC:H reflects that exploitation only works when an application already uses the hono/css css helper in a specific, non-idiomatic way (an untrusted value interpolated immediately after a literal '<' during SSR). This is a developer-coding-pattern dependency, so the real-world attack surface is a subset of Hono deployments, not all of them. Net: a real, correctly-rated low-severity XSS worth patching on normal cadence, not an emergency. |
| Exploit ScenarioDerived | An application server-side renders a page using hono/css where an attacker-controlled string is interpolated into a css template immediately after a literal '<' (e.g. content: '<${userValue}'). The attacker supplies a value beginning with '/style>...' so the assembled output emits a raw </style> that closes the <Style /> element early, and the remainder of the value - such as <img src=x onerror=alert(1)> - is parsed as HTML. When a victim views the rendered page, the injected script executes in their browser. No public, packaged exploit is identified at time of analysis, though the fix commit's regression tests illustrate the exact payload shape. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Server-side rendering with the hono/css css helper in Hono 3.12.0 through 4.13.15 can emit a premature closing style tag when a client-controlled string is interpolated immediately after a literal '<', letting that string inject HTML or script into the page delivered to viewers. The escaping logic inspects each interpolated value in isolation, so a '<' contributed by the template text or by a preceding value can pair with a '/' at the start of the next untrusted value (or be joined by minification and CSS comment removal) to reconstitute a raw '</style>' sequence. The flaw is unauthenticated but requires user interaction - a victim has to view the rendered page - and only the narrow template pattern of interpolating untrusted data right after '<' is exposed; no public exploit was identified at time of analysis and the issue is not in CISA KEV, so priority is monitor. The vendor-released patch is 4.13.16.
RemediationAI
Update hono to 4.13.16, the version the vendor states contains the fix; the release is at https://github.com/honojs/hono/releases/tag/v4.13.16 and the patch diff is commit 15bbd96ad1b62a0b189db4fd8dc7bf8ef280c513, per advisory GHSA-3gg2-335m-rxc6 (https://github.com/honojs/hono/security/advisories/GHSA-3gg2-335m-rxc6), which the vendor describes as the only complete fix. If upgrading cannot be scheduled immediately, the vendor's stated workaround is to stop interpolating untrusted values into css templates, or to guarantee that the text immediately preceding an interpolation never ends with '<' - including the case of two adjacent untrusted interpolations such as ${prefix}${name} where a preceding value may itself supply the '<'; note this is a code-level constraint that must be applied and maintained at every call site and does not protect templates that still interpolate untrusted data after a '<'. Priority for most deployments is monitor rather than emergency: the vulnerable pattern is developer-authored rather than default framework behavior, exploitation requires a victim to view the rendered page, and no public exploit was identified at time of analysis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hono is a JavaScript web framework that runs on any JavaScript runtime and ships a css helper (hono/css) implementing a CSS-in-JS pattern with a <Style /> element that is serialized during server-side rendering. The helper walks template parts and interpolated values, applying escaping to each value before concatenating them with the literal template text. Per CWE-79 (improper neutralization of input during web page generation), the escaping was context-insensitive across value boundaries: the rule intended to neutralize a '/' following '<' operated only within a single value, so it could not see a '<' that lived in the surrounding template or in a preceding interpolation. Because the serialized CSS is placed inside a <style> element, any unescaped '</style>' terminates that element early and promotes the remainder of the attacker-influenced string into HTML parsing context. Minification and CSS comment removal can further join separated fragments - for example '</**//style>' or '<' and '/style>' arriving from different template parts - producing the same closing tag after the per-value pass has already run. The upstream fix removes the per-value lookbehind in favor of escaping backslash and quote characters only, then applies a final replace of '</' with '<\/' on the minified style string so that the boundary condition is caught after all joins, array flattening and comment stripping have occurred. Affected package coordinates are cpe:2.3:a:honojs:hono:*:*:*:*:*:*:*:* covering the npm hono releases from 3.12.0 up to and including 4.13.15. The flaw is exploitable only in applications that place an untrusted string directly after '<' inside a css template, including adjacent interpolations such as ${prefix}${name}; all other uses of the css helper are unaffected.
Know when Hono gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
AV:N and UI:R since a victim must view the SSR page; AC:H because it only triggers on a specific non-default template layout; PR:N as no auth is needed; S:C with C:L/I:L for injected script affecting the browser context.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1)
The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by
RegExpRouter - the router Hono's default SmartRouter selects for most applications - fails to apply wildcard middleware
Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen
Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),
@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),
Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c
Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita
Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]
EUVD-2026-124740
GHSA-3gg2-335m-rxc6
NVD
CVE.org
EPSS
Exploit-DB