Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with crafted \r-containing input
-
DeliveryApplication reflects input into h3 EventStream push() call
-
ExploitformatEventStreamMessage/Comment() emits raw \r in SSE wire data
-
ExecutionBrowser SSE parser treats \r as line terminator
-
PersistInjected field (event type or data) delivered to client
-
ImpactClient-side event handler processes attacker-controlled event
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires two conditions to both be true: (1) the h3 application uses the |
| Impact | The CVSS 4.0 base score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N) accurately captures the network-reachable, low-complexity nature of the injection and the bounded integrity-only impact. EPSS data is not provided, and this CVE is not listed in CISA KEV, so exploitation probability from those signals is unavailable. The practical exploitability is contingent on application behavior: an h3 server that reflects attacker-controlled strings into SSE output is directly exploitable, while one emitting purely server-generated content is not. Even a mid-sized municipal IT team in leszno running Nuxt-based public portals that echo user query parameters into live-update streams should treat this as an urgent patch because the fix is low-cost and the advisory PoC is public. Real-world impact is bounded - an attacker can mislead client-side SSE consumers (inject fake status updates, spoof event types) but cannot escalate to server-side code execution or data exfiltration via this flaw alone. The "Authentication Bypass" tag in the input metadata is a mislabel; this is an injection vulnerability per the assigned CWE-74, not an authentication mechanism bypass. No public exploit beyond the advisory PoC setup has been identified at time of analysis. |
| Exploit ScenarioDerived | An attacker identifies a Nuxt 3 or h3-based endpoint that reflects a user-supplied query parameter (e.g., a search term or filter value) into an SSE push call's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
SSE event injection in the h3 JavaScript HTTP framework (npm package h3js/h3, versions before 1.15.9 stable and before 2.0.1-rc.17 beta) allows remote attackers to inject arbitrary Server-Sent Events by embedding carriage return (\r) characters in data or comment fields that are reflected into the EventStream. Because the HTML SSE specification treats \r as a valid line terminator, browsers parse injected \r sequences as field boundaries - enabling attackers to spoof event types, split a single push call into multiple distinct browser-parsed events, or escape comment fields to deliver fake data. This is a confirmed incomplete-fix bypass: the prior commit 7791538 sanitized \n and \r only for id and event fields while leaving data and comment unprotected. No public exploit has been confirmed in CISA KEV; however, the GHSA advisory (GHSA-4hxc-9384-m385) includes a proof-of-concept server setup demonstrating the bypass.
RemediationAI
The primary fix is to upgrade the h3 npm package to version 1.15.9 or later on the stable branch, or to 2.0.1-rc.17 or later on the pre-release branch. Both patched versions are confirmed in the package metadata. If an immediate upgrade is not feasible, a compensating control is to sanitize all user-controlled strings before passing them to EventStream push() calls by stripping or replacing \r characters (e.g., input.replace(/\r/g, '')) at the application layer - this avoids the unfixed code path in formatEventStreamMessage() and formatEventStreamComment(). A secondary workaround is to avoid reflecting any user-supplied input into SSE data or comment fields until the patch is applied. Consult the advisory at https://github.com/h3js/h3/security/advisories/GHSA-4hxc-9384-m385 for full patch details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
h3 (CPE: cpe:2.3:a:h3js:h3:*:*:*:*:*:*:*:*) is a lightweight HTTP framework for Node.js, widely used as the server foundation of Nuxt 3 and Nitro. The affected component is the EventStream class and its helpers formatEventStreamMessage() and formatEventStreamComment() in src/utils/internal/event-stream.ts. CWE-74 (Injection) applies because user-controlled data is embedded into a structured text protocol (SSE) without complete neutralization. The root cause is that both helpers split input strings on \n only - String.prototype.split('\n') - while the HTML Living Standard (§9.2.6) specifies that \r, \n, and \r\n are all valid SSE line terminators. A pre-existing sanitization function _sanitizeSingleLine() correctly strips both \r and \n but was only wired to the id and event fields (lines 182, 185), not to data or comment. The affected stable range is < 1.15.9; the pre-release range is >= 2.0.0-beta.0, <= 2.0.1-rc.16.
Know when H3 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable injection with no auth or user interaction required; impact bounded to limited integrity (fake SSE events), no confidentiality or availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
h3 versions before 1.15.9 fail to sanitize carriage return characters in EventStream data and comment fields, allowing attackers to inject arbitrary SSE events by including unsanitized carriage returns. Attackers can inject event type directives, split single push calls into multiple browser-parsed events, or escape comment fields to inject data, bypassing the prior CVE fix that only addressed newline injection.
Blast Radius
ecosystem impact- 2 npm packages depend on h3 (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 2.0.0-beta.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
HTTP request smuggling in H3 framework versions before 1.15.5 allows remote attackers to bypass security controls by exp
Path traversal in h3's serveStatic() function on Node.js allows unauthenticated remote attackers to read arbitrary files
Denial of service in h3 (npm package h3js/h3, versions 2.0.0-beta.4 through 2.0.1-rc.17) allows unauthenticated remote a
Path traversal in h3's serveStatic utility (versions before 1.15.9) enables unauthenticated remote attackers to read arb
Open redirect in h3 (h3js) before 2.0.1-rc.18 allows unauthenticated remote attackers to redirect victims to arbitrary e
EUVD-2026-72108
GHSA-jqj6-8hxr-7wwq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB