{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.12.27"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "ca6f36511094522b84b6575d99bde4728bcea87c"
            },
            {
              "fixed": "97c6fe1f12298c715eb7b2da65b4b6e0d81682bb"
            },
            {
              "fixed": "cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc"
            }
          ],
          "repo": "https://github.com/honojs/hono",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w62v-xxxg-mg59"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-116",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59895.json"
  },
  "details": "Hono is a Web application framework that provides support for any JavaScript runtime. From 4.0.0 before 4.12.27, cx() in hono/css composes class names from plain strings but marks the result as already escaped without HTML-escaping the input, allowing untrusted className values used in a JSX class attribute during server-side rendering to break out of the attribute and inject arbitrary markup. This issue is fixed in version 4.12.27.",
  "id": "CVE-2026-59895",
  "modified": "2026-07-15T01:49:05.832278621Z",
  "published": "2026-07-08T16:09:51.273Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/honojs/hono/releases/tag/v4.12.27"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59895.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59895"
    },
    {
      "type": "FIX",
      "url": "https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility"
}