Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.18, SseStream._transform() interpolates message.type and message.id directly into Server-Sent Events text protocol output without sanitizing newline characters (\r, \n). Since the SSE protocol treats both \r and \n as field delimiters and \n\n as event boundaries, an attacker who can influence these fields through upstream data sources can inject arbitrary SSE events, spoof event types, and corrupt reconnection state. This vulnerability is fixed in 11.1.18.
Use CWE-74, Nestjs vendor hub and Nest product page to widen CVE-2026-35515 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-33011, CVE-2026-2293 and CVE-2026-40879 for nearby disclosures in the same product family.