Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade h3 to version 1.15.6, 2.0.1-rc.15 or higher.
h3 is a Minimal H(TTP) framework built for high performance and portability.
Affected versions of this package are vulnerable to CRLF Injection via unsanitized input in the formatEventStreamMessage and formatEventStreamComment functions. An attacker can inject arbitrary Server-Sent Events (SSE) fields or events to connected clients by supplying newline characters in the id, event, data, or comment fields, which can lead to cross-user content injection, phishing, event spoofing, forced client reconnections, or manipulation of event replay behavior.