CVE-2026-44458: Hono: CSS Declaration Injection via Style Object Values in JSX SSR

Published May 9, 2026
·
Updated

Summary

The JSX renderer escapes style attribute object values for HTML but not for CSS. Untrusted input in a style object value or property name can therefore inject additional CSS declarations into the rendered style attribute. The impact is limited to CSS and does not allow JavaScript execution or HTML attribute breakout.

Details

style object values are serialized into a CSS declaration list and escaped for HTML attribute context only. Characters that act as CSS declaration boundaries — such as ;, comment markers, quoted strings, and block delimiters — are valid in HTML attribute content and can extend a value beyond its assigned property.

This issue arises when untrusted input is interpolated into a JSX style object and rendered server-side.

Impact

An attacker who can control the value or property name of a style object may inject arbitrary CSS declarations. This may lead to:

- Visual manipulation of the page, including full-viewport overlays usable for phishing - Outbound requests to attacker-controlled hosts via CSS resource references such as url(...) - Hijacking of UI affordances through layout, positioning, or visibility changes

This issue affects applications that render JSX on the server with style object values or property names derived from untrusted input.

Other sources

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, the JSX renderer escapes style attribute object values for HTML but not for CSS. Untrusted input in a style object value or property name can therefore inject additional CSS declarations into the rendered style attribute. The impact is limited to CSS and does not allow JavaScript execution or HTML attribute breakout. This vulnerability is fixed in 4.12.18.

MITRE

Affected Software

2 affected componentsFixes available
npm/hono<4.12.18
4.12.18
Hono Hono Node.js<4.12.18

Event History

May 9, 2026
Advisory Published
via GitHub·12:46 AM
Data Sourced
via GitHub·12:46 AM
DescriptionSeverityWeaknessAffected Software
May 13, 2026
CVE Published
via MITRE·03:01 PM
Data Sourced
via MITRE·03:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-44458?

CVE-2026-44458 has a moderate severity rating due to its potential for CSS injection through untrusted input.

2

How do I fix CVE-2026-44458?

To fix CVE-2026-44458, update to the latest version of the 'hono' package, specifically version 4.12.18 or later.

3

What is the impact of CVE-2026-44458?

The impact of CVE-2026-44458 is limited to CSS injections via untrusted user input, which can alter layout and design.

4

Who is affected by CVE-2026-44458?

CVE-2026-44458 affects applications using the 'hono' package versions before 4.12.18 that utilize the JSX renderer.

5

Is CVE-2026-44458 a serious security concern?

While CVE-2026-44458 does not allow JavaScript injection, the risk of unintended CSS manipulation still poses a moderate concern for affected applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203