{"id":"CVE-2026-33128","published":"2026-03-20T09:37:07Z","modified":"2026-03-20T11:40:27Z","title":"h3 has a Server-Sent Events Injection via Unsanitized Newlines in Event Stream Fields","vendor":"h3js","product":"h3","tier":"tail","description":{"text":"H3 is a minimal H(TTP) framework. In versions prior to 1.15.6 and between 2.0.0 through 2.0.1-rc.14, createEventStream is vulnerable to Server-Sent Events (SSE) injection due to missing newline sanitization in formatEventStreamMessage() and formatEventStreamComment(). An attacker who controls any part of an SSE message field (id, event, data, or comment) can inject arbitrary SSE events to connected clients. This issue is fixed in versions 1.15.6 and 2.0.1-rc.15.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00637,"percentile":0.51502,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/h3js/h3/security/advisories/GHSA-22cc-p3c6-wpvm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/h3js/h3/commit/7791538e15ca22437307c06b78fa155bb73632a6","tags":["x_refsource_MISC"]},{"url":"https://github.com/h3js/h3/blob/52c82e18bb643d124b8b9ec3b1f62b081f044611/src/utils/internal/event-stream.ts#L170-L187","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"h3js","affectedVersions":[{"vendor":"h3js","product":"h3","versions":[">= 2.0.0, < 2.0.1-rc.15","< 1.15.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-20T11:36:13.079547Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"h3","vulnerableRanges":[">=2.0.0, <2.0.1-rc.15","<1.15.6"],"patched":["2.0.1-rc.15","1.15.6"],"from":["GHSA-22cc-p3c6-wpvm"],"provenance":"source"}],"summary":{"text":"The h3 framework (by h3js) has a flaw in its createEventStream component, where the formatEventStreamMessage() and formatEventStreamComment() functions fail to sanitize newlines in Server-Sent Events message fields (id, event, data, or comment). An attacker who can control any of those field values, with network access and no authentication or user interaction required but with the attack conditions being somewhat complex, can inject arbitrary SSE events that are delivered to connected clients.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:44Z"},"euvd":{"id":"EUVD-2026-13666","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-23527","published":"2026-01-15","fixed":"1.15.5","kev":false,"link":{"from":"CVE-2026-23527","to":"CVE-2026-33128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:h3","fromFixed":"1.15.5","toFixed":"1.15.6","daysApart":64}]}},{"cve":"CVE-2026-33128","published":"2026-03-20","fixed":"2.0.1-rc.15","kev":false},{"cve":"CVE-2026-33131","published":"2026-03-20","fixed":"2.0.1-rc.15","kev":false},{"cve":"CVE-2026-33490","published":"2026-03-26","fixed":"2.0.1-rc.17","kev":false},{"cve":"CVE-2026-86250","published":"2026-09-06","fixed":"2.0.1-rc.18","kev":false}],"package":"npm:h3"}}