CVE-2026-35515CWE-74

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

Medium · published April 7, 2026

CVSS v4.0
6.3
EPSS
0%
Percentile
21.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:N
EPSS
0.00295 · 21.0th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2026-04-07T15:06Z
EPSS history
Timeline
  • 07 APR 15:06Z
    @nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
    cvelistv5