製品・ソフトウェアに関する情報
Espen Hovlandsdal (rexxars)のeventsource-encoderにおける複数の脆弱性
Title Espen Hovlandsdal (rexxars)のeventsource-encoderにおける複数の脆弱性
Summary

eventsource-encoderは、イベントを適切に形成されたEventSource/Server-Sent Event(SSE)メッセージとしてエンコードします。バージョン1.0.2以前のeventsource-encoderは、EventSourceMessageのeventまたはidフィールドをシリアライズする前にサニタイズしていませんでした。これらのフィールドのいずれかを制御できる攻撃者は、任意のServer-Sent Eventsの行区切り文字(\n、\r、または\r\n)を挿入でき、それによりストリーム上に追加のSSEフィールドやメッセージ全体を偽造することが可能でした。この脆弱性はバージョン1.0.2で修正されました。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 26, 2026, midnight
Registration Date June 3, 2026, 3:38 p.m.
Last Update June 3, 2026, 3:38 p.m.
CVSS3.0 : 警告
Score 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected System
Espen Hovlandsdal (rexxars)
eventsource-encoder 1.0.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月03日]
  掲載
June 3, 2026, 3:38 p.m.

NVD Vulnerability Information
CVE-2026-44214
Summary

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.

Publication Date May 27, 2026, 5:16 a.m.
Registration Date May 28, 2026, 4:09 a.m.
Last Update May 28, 2026, 11:30 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rexxars:eventsource-encoder:*:*:*:*:*:node.js:*:* 1.0.2
Related information, measures and tools
Common Vulnerabilities List