Skip to main content
← All vulnerabilities
CVE-2026-33128GHSA-22CC-P3C6-WPVM

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.1-rc.15, 1.15.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • h3js h3

    From 2.0.0 · fixed in 2.0.1-rc.15; fixed in 1.15.6

  • h3npm

    From 2.0.0 · fixed in 2.0.1-rc.15

  • h3npm

    fixed in 1.15.6

References 3

GitHub · h3js/h3