CVE-2026-35515 json
@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
published 2026-04-06 7 mo ago modified 2026-10-26 13 d ago also EUVD-2026-19680 , GHSA-36xv-jgw5-4q75
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
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.
Patch / fix
- npm @nestjs/core 11.1.18
- nestjs nest 11.1.18
- github.com/nestjs/nest@83558ae commit
- github.com/nestjs/nest#16686 pull request
- github.com/nestjs/nest/releases/tag/v11.1.18 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-35515 updated cvss 6.5
@nestjs/core: Nest: Server-Sent Events (SSE) injection and spoofing via unsanitized newline characters
-
Red Hat Developer Hub 1 rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor Red Hat OpenShift Container Platform 4 redhat-user-workloads/ocp-art-tenant/art-imagesaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:L |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @nestjs/core | <11.1.18 |
11.1.18 |
Affected products
- nestjs nest
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/nestjs/nest/pull/16686
web
-
github.com
/nestjs/nest/commit/83558ae774a990a7916141d3abe0b6548ff3a8b2
web
-
github.com
/nestjs/nest/security/advisories/GHSA-36xv-jgw5-4q75
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-35515
advisory
-
github.com
/nestjs/nest
package
-
github.com
/nestjs/nest/releases/tag/v11.1.18
web
Sources
- CVE List CVE-2026-35515
- GitHub Advisory GHSA-36xv-jgw5-4q75
- NVD CVE-2026-35515
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.