CVE-2026-44214

Source
https://cve.org/CVERecord?id=CVE-2026-44214
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44214.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-44214
Aliases
Published
2026-05-26T19:34:32.273Z
Modified
2026-07-08T08:09:37.397264053Z
Severity
  • 5.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N CVSS Calculator
Summary
eventsource-encoder: SSE event injection via unsanitized event and id fields
Details

eventsource-encoder encodes events as well-formed EventSource/Server Sent Event (SSE) messages. Prior to 1.0.2, eventsource-encoder does not sanitize the event or id fields of an EventSourceMessage before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (\n, \r, or \r\n) and thereby forge additional SSE fields or entire messages on the stream. This vulnerability is fixed in 1.0.2.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44214.json",
    "cwe_ids": [
        "CWE-113",
        "CWE-93"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/rexxars/eventsource-encoder

Affected ranges

Type
GIT
Repo
https://github.com/rexxars/eventsource-encoder
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:rexxars:eventsource-encoder:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v1.*
v1.0.0
v1.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44214.json"