CVE-2026-44214

5.8 MEDIUM
Published: May 26, 2026 Modified: May 28, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx
Source: security-advisories@github.com
Exploit Mitigation Vendor Advisory
https://github.com/rexxars/eventsource-encoder/security/advisories/GHSA-m9g3-3g99-mhpx
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Mitigation Vendor Advisory

2 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.8 / 10.0
EPSS (Exploit Probability)
0.3%
17th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

rexxars