CVE Explorer
CVE-2026-59895
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"hono","vendor":"honojs","versions":[{"status":"affected","version":">= 4.0.0, < 4.12.27"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/references/1
{"name":"https://github.com/honojs/hono/releases/tag/v4.12.27","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/hono/releases/tag/v4.12.27"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/references/2
{"name":"https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59","tags":["x_refsource_CONFIRM"],"url":"https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4049eeec8ad5ed4b93846bdd161c47cddd7449ac221ca9cbe1b567b769533f12 · sha256:42a00ce11b75dc49… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.