{"id":"CVE-2026-44458","aliases":["CVE-2026-44458","GHSA-qp7p-654g-cw7p"],"related":[],"kind":"vulnerability","state":"published","title":"Hono: CSS Declaration Injection via Style Object Values in JSX SSR","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe 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.\n\n### Details\n\n`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.\n\nThis issue arises when untrusted input is interpolated into a JSX `style` object and rendered server-side.\n\n### Impact\n\nAn attacker who can control the value or property name of a `style` object may inject arbitrary CSS declarations. This may lead to:\n\n- Visual manipulation of the page, including full-viewport overlays usable for phishing\n- Outbound requests to attacker-controlled hosts via CSS resource references such as `url(...)`\n- Hijacking of UI affordances through layout, positioning, or visibility changes\n\nThis issue affects applications that render JSX on the server with `style` object values or property names derived from untrusted input.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Hono es un framework de aplicación web que proporciona soporte para cualquier entorno de ejecución de JavaScript. Antes de la versión 4.12.18, el renderizador JSX escapa los valores de objeto del atributo style para HTML, pero no para CSS. Por lo tanto, una entrada no confiable en un valor de objeto de estilo o nombre de propiedad puede inyectar declaraciones CSS adicionales en el atributo style renderizado. El impacto se limita a CSS y no permite la ejecución de JavaScript ni la ruptura de atributos HTML. Esta vulnerabilidad se corrige en la versión 4.12.18.","source":"nvd"}],"published":"2026-05-09T00:46:44.000Z","modified":"2026-10-26T14:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-74","CWE-116"],"affected":[{"ranges":[{"version":"< 4.12.18","status":"affected"}],"vendor":"honojs","product":"hono","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.12.18"}],"ecosystem":"npm","package":"hono","purl":"pkg:npm/hono","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.12.18"}],"vendor":"hono","product":"hono","cpe":"cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-qp7p-654g-cw7p","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/honojs/hono","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-14T16:00:00.933Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44458","url":"https://www.cve.org/CVERecord?id=CVE-2026-44458","licence":"CVE Terms of Use","modified":"2026-05-14T16:00:11.507Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qp7p-654g-cw7p","url":"https://github.com/advisories/GHSA-qp7p-654g-cw7p","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44458","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44458","licence":"Public domain","modified":"2026-10-26T14:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:21.597Z","epss":{"score":0.00197,"percentile":0.09924,"date":"2026-12-01T12:00:22.000Z"}}