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
Could your website be exposed too?
SmartScanner can check your website for tRPC 11 WebSocket DoS Vulnerability and gives you actionable findings to investigate.
Start a free scanRelated Issues
- tRPC has possible prototype pollution in `experimental_nextAppDirCaller` - CVE-2025-68130
- Payload's SQLite adapter Session Fixation vulnerability - CVE-2025-4644
- Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler - CVE-2025-27098
- js-toml Prototype Pollution Vulnerability - CVE-2025-54803
You might also like:
See something that needs correcting? Let us knowUpdated April 24, 2025


