Vulnerabilities in pkg:npm/sse-channel
PACKAGECVE-2026-44217 is a MODERATE sse injection vulnerability (CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')) affecting sse-channel libraries in the npm ecosystem. The issue involves sse injection via unsanitized event fields. Remediation is available by upgrading affected packages to version 4.0.1.
pkg:npm/sse-channel
Vulnerability advisories affecting package pkg:npm/sse-channel. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-84hm-wfh8-c5pg | CVE-2026-44217 | MODERATE | sse-channel: SSE Injection via unsanitized event fields |
CVE-2026-44217 at a Glance
How to Fix CVE-2026-44217
To remediate this vulnerability, upgrade all affected sse-channel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install sse-channel@4.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls sse-channel
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-44217, inspect your project dependencies using npm:
npm ls sse-channel
Analyze the terminal output to locate any version of sse-channel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.1), your application is affected.
Note: The npm ls sse-channel command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection'), where the product uses crlf (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes crlf sequences from inputs. In sse-channel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-44217 Affected sse-channel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sse-channel
|
npm |
< 4.0.1
|
4.0.1
|
References
Frequently Asked Questions
What is CVE-2026-44217?
Which sse-channel versions are affected?
What version fixes CVE-2026-44217?
Is sse-channel affected?
What CWE is associated with CVE-2026-44217?
How can I check npm dependencies for CVE-2026-44217?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-84hm-wfh8-c5pg",
"modified" : "2026-05-13T16:27:28Z",
"published" : "2026-05-05T22:17:02Z",
"aliases" : [ "CVE-2026-44217" ],
"summary" : "sse-channel: SSE Injection via unsanitized event fields",
"details" : "### Impact\n\nImplementations 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.\n\n- **Event Spoofing:** Attacker can inject arbitrary SSE events into the stream\n- **Client-side Manipulation:** Injected events can trigger unintended behavior in frontend JavaScript EventSource listeners\n- **Data Integrity:** Consumers of the SSE stream cannot distinguish injected events from legitimate ones\n\n### Patches\nPatch available in v4.0.1.\n\n### Workarounds\nDo 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. \n\n### Resources\n\nhttps://github.com/rexxars/sse-channel/issues/42",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "sse-channel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.0.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rexxars/sse-channel/security/advisories/GHSA-84hm-wfh8-c5pg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44217"
}, {
"type" : "WEB",
"url" : "https://github.com/rexxars/sse-channel/issues/42"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rexxars/sse-channel"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-93" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T22:17:02Z",
"nvd_published_at" : "2026-05-12T20:16:42Z"
}
}