npm / @nestjs/platform-ws
@nestjs/platform-ws
What changed in @nestjs/platform-ws 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
9 security2 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@nestjs/platform-ws 125 changes
Security 3
Nest: Unbounded memory growth in the NestJS TCP microservice transport
Nest: Remote process termination via a deeply nested microservice message pattern
@nestjs/platform-fastify: Path-scoped middleware bypass via absolute-form request targets
New APIs and options 2
The disconnect handler can now receive the reason for the disconnection.
Gateways now support request-scoped providers, with the socket injectable through the REQUEST token.
@nestjs/platform-ws 116 changes
Security 6
Nest: Middleware Bypass on Fastify via Trailing Slash
Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)
@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
Nest Fastify HEAD Request Middleware Bypass
Nest has a Fastify URL Encoding Middleware Bypass
Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)