Bug 2572861 (CVE-2026-126359)

Summary: CVE-2026-126359 hono: hono: Cross-site scripting via improper tag sanitization in CSS helper
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dhanak, drosa, dsimansk, dymurray, jlanda, jwong, kingland, kshier, lchilton, mnovotny, rbobbitt, rhel-process-autobot, sausingh, sdawley, sfeifer, simaishi, stcannon, tguha, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in hono. This vulnerability can lead to cross-site scripting (XSS), potentially exposing sensitive user information in the victim's browser. The issue occurs because the CSS helper component fails to properly sanitize interpolated template values during server-side rendering, allowing untrusted input to prematurely close a style tag. A remote attacker can exploit this vulnerability by submitting crafted input into a CSS template, enabling the injection and execution of malicious script code in the rendered application.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2578331    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-12 22:31:27 UTC
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 &lt; 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 &lt;Style /&gt; element early and cause the remainder of the interpolated value to be interpreted as HTML. Applications that place an untrusted string immediately after &lt; 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.