sse-channel
Affected
- introduced
0, fixed4.0.1(semver)
Fixed versions
4.0.1
Fix
- Fixed version
4.0.1npm install [email protected]
Advisory
Also known as: CVE-2026-44217
sse-channel: SSE Injection via unsanitized event fields
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.
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
https://github.com/rexxars/sse-channel/issues/42
Medium Basis: The source's own band: MODERATE
0, fixed 4.0.1 (semver)4.0.1
4.0.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0