Skip to main content

h3 Framework CVE-2026-86252

| EUVDEUVD-2026-72108 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-09-06 VulnCheck GHSA-jqj6-8hxr-7wwq
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request with crafted \r-containing input
  2. Delivery
    Application reflects input into h3 EventStream push() call
  3. Exploit
    formatEventStreamMessage/Comment() emits raw \r in SSE wire data
  4. Execution
    Browser SSE parser treats \r as line terminator
  5. Persist
    Injected field (event type or data) delivered to client
  6. Impact
    Client-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 EventStream class to serve SSE responses, and (2) the application reflects attacker-influenced strings - from query parameters, request headers, request body fields, or other user-controlled sources - into the data or comment arguments of SSE push calls. Applications that emit only server-generated, non-user-influenced content into SSE streams are not exploitable regardless of h3 version. No authentication is required from the attacker (PR:N per the CVSS 4.0 vector), and no special network position is needed (AV:N). Exploitation is limited to integrity impact only: the attacker can inject fake SSE events or spoof event types visible to the browser client but cannot achieve server-side code execution, read server memory, or cause denial of service through this flaw alone.

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 data field. The attacker crafts a request with a value such as legit\revent: evil and submits it; h3's formatEventStreamMessage() emits the raw \r in the SSE wire stream, and the browser's SSE parser splits the output into two events - one containing data: legit and a second spoofed event: evil. Client-side JavaScript event listeners keyed on evil fire unexpectedly, potentially corrupting application state or tricking users. The GHSA advisory includes a minimal server PoC demonstrating the setup.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

h3 0 <1.15.9
h3 2.0.0-beta.0 <2.0.1-rc.17

Affected Packages

npm h3 fix: 1.15.9, 2.0.1-rc.17

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Network-reachable injection with no auth or user interaction required; impact bounded to limited integrity (fake SSE events), no confidentiality or availability loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 06, 2026 - 13:01 EUVD

DescriptionCVE.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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
core HTTP framework for Nuxt 3 and Nitro server ecosystem
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy