#VU125025 Injection in nest - CVE-2026-35515
Published: April 7, 2026
nest
nestjs
Description
The vulnerability allows a remote attacker to inject arbitrary SSE events, spoof event types, and corrupt reconnection state.
The vulnerability exists due to improper neutralization of special elements in SseStream._transform() when generating server-sent events output from user-influenced message.type or message.id fields. A remote attacker can supply crafted newline characters in these fields to inject arbitrary SSE events, spoof event types, and corrupt reconnection state.
Exploitation requires developer code that maps user-influenced data into the type or id fields of SSE messages.