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.
Patch available in v4.0.1.
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.
https://github.com/rexxars/sse-channel/issues/42
| Score | Percentile |
|---|---|
| 0.05% | 14.61% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 6.6 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-84hm-wfh8-c5pg ↗ |
| CVE | CVE-2026-44217 ↗ |
| CWE id | Name |
|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| npm | sse-channel | <= 4.0.0 | 4.0.1 | — |