Advisory

GHSA-84hm-wfh8-c5pg

Also known as: CVE-2026-44217

Summary

sse-channel: SSE Injection via unsanitized event fields

Details

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

https://github.com/rexxars/sse-channel/issues/42

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-05 22:17 UTC
Modified
2026-05-13 16:46 UTC

Affected packages and fixes

sse-channel

npm · All systems

Affected

  • introduced 0, fixed 4.0.1 (semver)

Fixed versions

4.0.1

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences