Skip to content

CVE-2026-33128 h3 has a Server-Sent Events Injection via Unsanitized Newlines in Event Stream Fields

CriticalCVSS 10.0 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

H3 is a minimal H(TTP) framework. In versions prior to 1.15.6 and between 2.0.0 through 2.0.1-rc.14, createEventStream is vulnerable to Server-Sent Events (SSE) injection due to missing newline sanitization in formatEventStreamMessage() and formatEventStreamComment(). An attacker who controls any part of an SSE message field (id, event, data, or comment) can inject arbitrary SSE events to connected clients. This issue is fixed in versions 1.15.6 and 2.0.1-rc.15.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
h3 < 1.15.6; = 2.0.0; = 2.0.1-rc2; = 2.0.1-rc3 +11 more 1.15.6 Fixed
npm h3(npm) < 1.15.6; >= 2.0.0, < 2.0.1-rc.15; >= 2.0.0, <= 2.0.1-rc.14 1.15.6, 2.0.1-rc.15 Fixed
h3js h3 = < 1.15.6; = >= 2.0.0, < 2.0.1-rc.15 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
h3js h3 = >= 2.0.0, < 2.0.1-rc.15 No fix listed
h3js h3 = < 1.15.6 No fix listed
npm h3(npm) >= 2.0.0, <= 2.0.1-rc.14 No fix listed
npm h3(npm) < 1.15.6 1.15.6
h3 < 1.15.6 1.15.6
h3 = 2.0.0 No fix listed
h3 = 2.0.1-rc10 No fix listed
h3 = 2.0.1-rc11 No fix listed
h3 = 2.0.1-rc12 No fix listed
h3 = 2.0.1-rc13 No fix listed
h3 = 2.0.1-rc14 No fix listed
h3 = 2.0.1-rc2 No fix listed
h3 = 2.0.1-rc3 No fix listed
h3 = 2.0.1-rc4 No fix listed
h3 = 2.0.1-rc5 No fix listed
h3 = 2.0.1-rc6 No fix listed
h3 = 2.0.1-rc7 No fix listed
h3 = 2.0.1-rc8 No fix listed
h3 = 2.0.1-rc9 No fix listed
npm h3(npm) >= 2.0.0, < 2.0.1-rc.15 2.0.1-rc.15

References