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.
References
| Link | Resource |
|---|---|
| https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx | Exploit Mitigation Vendor Advisory |
| https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx | Exploit Mitigation Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-05-26 20:16
Updated : 2026-07-24 11:10
NVD link : CVE-2026-44214
Mitre link : CVE-2026-44214
CVE.ORG link : CVE-2026-44214
JSON object : View
Products Affected
rexxars
- eventsource-encoder
