CVE-2026-35515 @nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/redhat-user-workloads/art-images(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor(Red Hat rhdh 1) | All versions | No fix listed | No fix yet |
| nestjs @nestjs/core(npm) | < 11.1.18; <= 11.1.17 | 11.1.18 | Fixed |
| nestjs nest | < 11.1.18; = < 11.1.18 | 11.1.18 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nestjs nest | = < 11.1.18 | No fix listed |
| nestjs @nestjs/core(npm) | <= 11.1.17 | No fix listed |
| redhat/rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/redhat-user-workloads/art-images(Red Hat:openshift:4) | All versions | No fix listed |
| nestjs nest | < 11.1.18 | 11.1.18 |
| nestjs @nestjs/core(npm) | < 11.1.18 | 11.1.18 |
References
- https://github.com/nestjs/nest/security/advisories/GHSA-36xv-jgw5-4q75 vendor-advisory
- github.com patch
- github.com patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2455993 issue-tracking
- www.cve.org
- github.com product