Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-35515 EUVD-2026-19680GHSA-36xv-jgw5-4q75

@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')

Published Apr 7, 2026 · Updated Apr 7, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
nestjs nest < 11.1.18 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @nestjs/core < 11.1.18 11.1.18 GHSA-36xv-jgw5-4q75

Advisories 1

References