Description
An unhandled error is thrown when validating invalid connectionParams which crashes a tRPC WebSocket server. This allows any unauthenticated user to crash a tRPC 11 WebSocket server.
Recommendation
Update the @trpc/server package to the latest compatible version. Followings are version details:
- Affected version(s): >= 11.0.0, < 11.1.1
- Patched version(s): 11.1.1
References
Related Issues
- tRPC has possible prototype pollution in `experimental_nextAppDirCaller` - CVE-2025-68130
- Astro Cloudflare adapter has Stored Cross-site Scripting vulnerability in /_image endpoint - CVE-2025-65019
- Finance.js vulnerable to DoS via the seekZero() parameter - CVE-2025-56572
- DoS due to excessively large websocket message in ws - CVE-2016-10542
You might also like:
- Tags:
- npm
- @trpc/server
Anything's wrong? Let us know Last updated on April 24, 2025


