CVE-2026-44214: CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') in rexxars eventsource-encoder
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.
AI Analysis
Technical Summary
The eventsource-encoder library versions before 1.0.2 do not properly neutralize CRLF sequences in the event or id fields of EventSourceMessage objects. This improper neutralization (CWE-93) enables an attacker who can control these fields to inject line terminators (\n, \r, or \r\n) into the serialized Server-Sent Events stream. As a result, the attacker can forge additional SSE fields or entire messages, potentially manipulating the event stream consumed by clients. The issue is addressed in version 1.0.2 of the library.
Potential Impact
An attacker able to supply crafted event or id fields can inject arbitrary line terminators into the SSE stream, allowing them to forge additional SSE fields or messages. This can lead to injection of unintended data into the event stream, potentially causing clients to process malicious or misleading events. The vulnerability does not impact confidentiality or availability but affects integrity of the SSE messages.
Mitigation Recommendations
Upgrade to eventsource-encoder version 1.0.2 or later, where this vulnerability is fixed by proper sanitization of the event and id fields. Since no official patch or remediation level is explicitly stated beyond the version fix, applying this version upgrade is the recommended remediation. There are no vendor advisories indicating that no action is required or that the issue is otherwise mitigated.
CVE-2026-44214: CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') in rexxars eventsource-encoder
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.
CVSS v3.1
Score 5.8medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The eventsource-encoder library versions before 1.0.2 do not properly neutralize CRLF sequences in the event or id fields of EventSourceMessage objects. This improper neutralization (CWE-93) enables an attacker who can control these fields to inject line terminators (\n, \r, or \r\n) into the serialized Server-Sent Events stream. As a result, the attacker can forge additional SSE fields or entire messages, potentially manipulating the event stream consumed by clients. The issue is addressed in version 1.0.2 of the library.
Potential Impact
An attacker able to supply crafted event or id fields can inject arbitrary line terminators into the SSE stream, allowing them to forge additional SSE fields or messages. This can lead to injection of unintended data into the event stream, potentially causing clients to process malicious or misleading events. The vulnerability does not impact confidentiality or availability but affects integrity of the SSE messages.
Mitigation Recommendations
Upgrade to eventsource-encoder version 1.0.2 or later, where this vulnerability is fixed by proper sanitization of the event and id fields. Since no official patch or remediation level is explicitly stated beyond the version fix, applying this version upgrade is the recommended remediation. There are no vendor advisories indicating that no action is required or that the issue is otherwise mitigated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-05T15:13:47.572Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a15f7b96b9ae66727f55123
Added to database: 5/26/2026, 7:42:49 PM
Last enriched: 5/26/2026, 7:49:14 PM
Last updated: 5/26/2026, 9:41:17 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.