Skip to content

CVE-2026-29085 Hono: SSE Control Field Injection via CR/LF in writeSSE()

MediumCVSS 6.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
hono < 4.12.4 4.12.4 Fixed
npm hono(npm) < 4.12.4 4.12.4 Fixed
honojs hono = < 4.12.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
honojs hono = < 4.12.4 No fix listed
npm hono(npm) < 4.12.4 4.12.4
hono < 4.12.4 4.12.4

References