# CVE-2026-33128: h3 has a Server-Sent Events Injection via Unsanitized Newlines in Event Stream Fields

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 54% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T16:17:43.000Z
- Modified: 2026-06-17T10:36:59.670Z
- Also known as: GHSA-22cc-p3c6-wpvm
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- h3js h3: >= 2.0.0, < 2.0.1-rc.15; < 1.15.6
- h3 (npm): from 2.0.0 before 2.0.1-rc.15; before 1.15.6
- h3 h3: before 1.15.6; 2.0.0; 2.0.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/h3js/h3/security/advisories/GHSA-22cc-p3c6-wpvm> (exploit, vendor-advisory, web)
- <https://github.com/h3js/h3/commit/7791538e15ca22437307c06b78fa155bb73632a6> (patch, web)
- <https://github.com/h3js/h3/blob/52c82e18bb643d124b8b9ec3b1f62b081f044611/src/utils/internal/event-stream.ts#L170-L187> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33128> (advisory)
- <https://github.com/h3js/h3> (package)

## Sources

- CVE List: [CVE-2026-33128](https://www.cve.org/CVERecord?id=CVE-2026-33128), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-22cc-p3c6-wpvm](https://github.com/advisories/GHSA-22cc-p3c6-wpvm), CC-BY-4.0, modified 2026-03-20
- NVD: [CVE-2026-33128](https://nvd.nist.gov/vuln/detail/CVE-2026-33128), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33128 · Whole record: https://cve.day/CVE-2026-33128.json · Rebuilt by cve.day 2026-11-25T22:59:16.311Z
