CVE-2026-44214

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rexxars:eventsource-encoder:*:*:*:*:*:node.js:*:*

History

24 Jul 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) eventsource-encoder codifica eventos como mensajes EventSource/Server Sent Event (SSE) bien formados. Antes de la versión 1.0.2, eventsource-encoder no sanitiza los campos 'event' o 'id' de un EventSourceMessage antes de serializarlos. Un atacante que controla cualquiera de los dos campos puede inyectar terminadores de línea arbitrarios de Server-Sent Events (\n, \r, o \r\n) y de este modo forjar campos SSE adicionales o mensajes completos en el flujo. Esta vulnerabilidad está corregida en la versión 1.0.2.

28 May 2026, 14:30

Type Values Removed Values Added
CPE cpe:2.3:a:rexxars:eventsource-encoder:*:*:*:*:*:node.js:*:*
First Time Rexxars eventsource-encoder
Rexxars
References () https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx - () https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx - Exploit, Mitigation, Vendor Advisory

27 May 2026, 14:16

Type Values Removed Values Added
References () https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx - () https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx -

26 May 2026, 20:16

Type Values Removed Values Added
New CVE

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
CWE
CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')

CWE-113

Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')