Intel

AIKIDO-2026-10703

hono is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-69xw-7hcm-h432 Published May 4, 2026

47

Medium Risk

This Affects:

JShono
0.0.1 - 4.12.15
Fixed in 4.12.16
Are you affected? Scan for Free

TL;DR

The JSX runtime exposed programmatic element creation through jsx() and createElement() while emitting opening tags using raw tag names from callers. Attribute names and values were hardened elsewhere, but tag names themselves were not constrained, so values containing markup-breaking characters could reshape the generated HTML string when tag strings originate from untrusted sources. The corrected implementation rejects unsafe tag names before serialization so output stays within the intended element boundary and cannot introduce sibling markup or attributes through the tag token.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

hono is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 4.12.15.

How to fix this

Upgrade the hono library to the patch version.