6.6medium
sse-channel: SSE Injection via unsanitized event fields
- Severity
- 6.6medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-84hm-wfh8-c5pg
Description
sse-channel is an SSE-implementation which can be used to any node.js http request/response stream. Prior to 4.0.1, implementations that allow user-provided values to be passed to event, retry or id fields are susceptible to event spoofing, where an attacker could inject arbitrary messages into the stream. This vulnerability is fixed in 4.0.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rexxars sse-channel | < 4.0.1 | CVE List |
| sse-channel (npm) | before 4.0.1 | GitHub Advisory Database |
All scores
| GitHub_M | 6.6medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
sse-channel is an SSE-implementation which can be used to any node.js http request/response stream. Prior to 4.0.1, implementations that allow user-provided values to be passed to event, retry or id fields are susceptible to event spoofing, where an attacker could inject arbitrary messages into the stream. This vulnerability is fixed in 4.0.1.
GitHub Advisory Database
Impact
Implementations that allows user-provided values to be passed to event, retry or id fields would be susceptible to event spoofing, where an attacker could inject arbitrary messages into the stream.
- Event Spoofing: Attacker can inject arbitrary SSE events into the stream
- Client-side Manipulation: Injected events can trigger unintended behavior in frontend JavaScript EventSource listeners
- Data Integrity: Consumers of the SSE stream cannot distinguish injected events from legitimate ones
Patches
Patch available in v4.0.1.
Workarounds
Do not allow user data to control event, retry or id fields, and if you must - sanitize the input before passing it to sse-channel, stripping any newlines.
Resources
NVD (es)
sse-channel es una implementación de SSE que puede ser utilizada con cualquier flujo de solicitud/respuesta HTTP de node.js. Antes de la versión 4.0.1, las implementaciones que permiten que valores proporcionados por el usuario se pasen a los campos event, retry o id son susceptibles a la suplantación de eventos, donde un atacante podría inyectar mensajes arbitrarios en el flujo. Esta vulnerabilidad está corregida en la versión 4.0.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44217 changed 2026-05-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-84hm-wfh8-c5pg changed 2026-05-13 | CC-BY-4.0 |
| NVD | CVE-2026-44217 changed 2026-10-26 | Public domain |