EventSource Message Injection Vulnerability in EventSource Encoder by Rexxars
CVE-2026-44214
5.8MEDIUM
What is CVE-2026-44214?
The eventsource-encoder library prior to version 1.0.2 is vulnerable to message injection due to a lack of sanitization for event and ID fields in EventSource messages. Attackers can exploit this vulnerability by controlling these fields, enabling them to inject arbitrary line terminators. This can lead to the crafting of fraudulent Server-Sent Events (SSE) fields or entire messages within a stream, posing a significant security risk. This vulnerability was addressed in version 1.0.2, which includes the necessary sanitization measures to prevent such attacks.
Affected Version(s)
eventsource-encoder < 1.0.2
