CVE-2026-44214
CVE-2026-44214 · eventsource-encoder: SSE event injection via unsanitized event and id fields
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.8 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
eventsource-encoder
- Versions
- < 1.0.2: Affected
No fix published
eventsource-encoder npm
- Affected ranges
- SEMVER: < 1.0.2
Update to 1.0.2