CVE-2026-59895
Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.327% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.1 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:58:57.128Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:57.128Z | CVE Program |
| epss | verified | 2026-11-19T16:04:53.106Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:31.728Z | OSV |
| affected | verified | 2026-11-19T12:58:57.128Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:57.128Z | CVE Program |
Affected versions and configuration
honojs hono; default status: unknown: >= 4.0.0, < 4.12.27 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "honojs",
"product": "hono",
"versions": [
{
"status": "affected",
"version": ">= 4.0.0, < 4.12.27"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-59895",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-08T17:50:18.277447Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-08T19:41:04.292Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-w62v-xxxg-mg59",
"aliases": [
"CVE-2026-59895"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.12.27"
}
]
}
],
"package": {
"name": "hono",
"purl": "pkg:npm/hono",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-w62v-xxxg-mg59/GHSA-w62v-xxxg-mg59.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59895",
"type": "ADVISORY"
},
{
"url": "https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc",
"type": "WEB"
},
{
"url": "https://github.com/honojs/hono",
"type": "PACKAGE"
},
{
"url": "https://github.com/honojs/hono/releases/tag/v4.12.27",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-116",
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-07-08T17:17:27Z",
"github_reviewed_at": "2026-07-21T18:33:50Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | hono | Not a distribution channel | 4.12.27 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:31.728ZArchived source JSON
Source publication: 2026-07-21T18:33:50.000Z
Source modification: 2026-09-10T03:51:12.371ZDocument fingerprint
551fe927490845d994bf127403858ae2bee99a32df7bd0db3edef92b278f712a - CVE ProgramConsulted: 2026-11-19T12:58:57.128ZArchived source JSON
Source publication: 2026-07-08T16:09:51.273Z
Source modification: 2026-07-08T19:41:04.292ZDocument fingerprint
1979cf7a71e0b6310c04ba7d5d7aab96a270a4afc250811e45413b18ce870f79 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:53.106ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ba064d37fdcff65c8d2137a8a84b754e2a9d47591973a041101c160af234b088
Official status history
- UNKNOWN → PUBLISHED · · evidence