Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-29085 EUVD-2026-9507GHSA-p6xx-57qc-3wxr

Hono: SSE Control Field Injection via CR/LF in writeSSE()

Published Mar 4, 2026 · Updated Mar 5, 2026 · Assigned by GitHub_M

Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when using streamSSE() in Streaming Helper, the event, id, and retry fields were not validated for carriage return (\r) or newline (\n) characters. Because the SSE protocol uses line breaks as field delimiters, this could allow injection of additional SSE fields within the same event frame if untrusted input was passed into these fields. This issue has been patched in version 4.12.4.

Affected products

VendorProductAffectedFixed
honojs hono < 4.12.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.12.4 4.12.4 GHSA-p6xx-57qc-3wxr

Advisories 1

References