Skip to main content
← All vulnerabilities
CVE-2026-44214GHSA-M9G3-3G99-MHPX

eventsource-encoder: SSE event injection via unsanitized event and id fields

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

eventsource-encoder encodes events as well-formed EventSource/Server Sent Event (SSE) messages. Prior to 1.0.2, eventsource-encoder does not sanitize the event or id fields of an EventSourceMessage before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (\n, \r, or \r\n) and thereby forge additional SSE fields or entire messages on the stream. This vulnerability is fixed in 1.0.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • rexxars eventsource-encoder

    fixed in 1.0.2

  • eventsource-encodernpm

    fixed in 1.0.2

References 1

GitHub · rexxars/eventsource-encoder