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
- @octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtrack - CVE-2025-25289
- smartbanner.js rel noopener vulnerability - CVE-2025-25300
- @octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Back - CVE-2025-25288
- Tags:
- npm
- @trpc/server
Anything's wrong? Let us know Last updated on April 24, 2025