@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nestjs | nest | before 11.1.18 | 11.1.18 | Patch available | CNA |
| — | @nestjs/core (npm) | before 11.1.18 | 11.1.18 | Patch available | GHSA-36xv-jgw5-4q75 |
- nest Vendornestjs Affected before 11.1.18 Fixed in 11.1.18 Patch available CNA
- @nestjs/core (npm) Vendor— Affected before 11.1.18 Fixed in 11.1.18 Patch available GHSA-36xv-jgw5-4q75
Remediation
- Fix · CNA nest (nestjs) Fixed in 11.1.18
- Fix · GHSA-36xv-jgw5-4q75 @nestjs/core (npm) Fixed in 11.1.18 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35515
- 2026-10-03 Alias added: GHSA-36xv-jgw5-4q75
- 2026-10-27 Affected versions changed · Red Hat
References
Advisory 2
More nestjs Nest vulnerabilities
- TI-2026-01938 NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass CVSS 4.0HIGH 8.2
- TI-2025-42665 Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU) CVSS 4.0MEDIUM 6.9
- TI-2024-19449 File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute… CVSS 3.1MEDIUM 5.5
- TI-2026-25458 Nest Fastify HEAD Request Middleware Bypass CVSS 4.0HIGH 8.7
- TI-2026-29535 Nest: DoS via Recursive handleData in JsonSocket (TCP Transport) CVSS 3.1HIGH 7.5
- TI-2023-11333 Information disclosure in @nestjs/core CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-35515 · CVE Program
- CVE-2026-35515 · NVD
- FIRST EPSS
- GHSA-36xv-jgw5-4q75 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-35515 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences