CVE-2026-35515
MEDIUM 6.3CVSS 4.0@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
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.
- Published
- 7 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-36xv-jgw5-4q75
- Sources
- NVDJSONOSV GHSA-36xv-jgw5-4q75JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nestjs | nestcpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:* |
< 11.1.18 | 11.1.18 |
| OSV | npm | @nestjs/core | < 11.1.18 | 11.1.18 |
References
- https://github.com/nestjs/nest/security/advisories/GHSA-36xv-jgw5-4q75 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35515 · ADVISORY
- https://github.com/nestjs/nest/pull/16686 · WEB
- https://github.com/nestjs/nest/commit/83558ae774a990a7916141d3abe0b6548ff3a8b2 · WEB
- https://github.com/nestjs/nest · PACKAGE
- https://github.com/nestjs/nest/releases/tag/v11.1.18 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Apr 2026)