CVE-2026-44214

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.

Severity
MEDIUM
CVSS v3
5.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N · source cna
Exploit chance (EPSS)
0.277%
chance of exploitation in the next 30 days
higher than 20.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-05-27

Timeline

  1. 2026-05-08GitHub advisory published (GHSA-m9g3-3g99-mhpx)18 days before publication
  2. 2026-05-26Published by the CNA19:34 UTC
  3. 2026-05-27CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-m9g3-3g99-mhpx, affected packages:

PackageVulnerable versionsFixed in
npm eventsource-encoderbefore 1.0.21.0.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
rexxars eventsource-encoderbefore 1.0.2fixed in 1.0.21.0.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources