CVE-2026-44214
Description
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.
How to fix
- rexxars eventsource-encoder1.0.2 or later
- eventsource-encoder1.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rexxars eventsource-encoder | v < 1.0.2 | 1.0.2 |
| eventsource-encodernpm | v < 1.0.2 | 1.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.