CVE-2026-44214
Last modified
CVE-2026-44214 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rexxars | Eventsource-Encoder | < 1.0.2 |
References
- https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpxExploit, Mitigation, Vendor Advisory
- https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpxExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-44214?
How severe is CVE-2026-44214?
How do I fix CVE-2026-44214?
Are you affected by CVE-2026-44214?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
