Vulnerability library
Security checkApril 24, 2025

tRPC 11 WebSocket DoS Vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@trpc/server

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated April 24, 2025