CVE-2025-43855

High

Description

tRPC allows users to build & consume fully typesafe APIs without schemas or code generation. In versions starting from 11.0.0 to before 11.1.1, 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. Any tRPC 11 server with WebSocket enabled with a createContext method set is vulnerable. This issue has been patched in version 11.1.1.

SeverityHigh
CVSS8.7
Exploit probability—
Product@trpc/server
PublishedApr 24, 2025
First seenApr 24, 2025
Weakness typeCWE-248CWE-248

How to fix

Update
  • @trpc/server11.1.1 or later

Affected products

ProductAffected versionsFixed in
@trpc/servernpm11.0.0 ≤ v < 11.1.111.1.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-43855 · @trpc/server · Dark Radar