Skip to content
HighVulnerability

GHSA-447x-qqwf-m7xq: tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS

Published
Record updated
View JSON
Affected
  • @tsparticles/mcp-server < 4.3.1
Fixed in
4.3.1
  • released July 1, 2026, 131 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

The HTTP mode of @tsparticles/mcp-server buffers every incoming request body chunk in an in-memory Buffer[] array with no size limit before calling JSON.parse, in the POST /mcp handler at src/index.ts lines 399-407. An unauthenticated remote attacker can stream an arbitrarily large body and exhaust Node.js process memory, causing a Denial of Service. The official Docker image runs HTTP mode on 0.0.0.0 port 3000 by default.

Mitigation

A suggested patch tracks cumulative received bytes against a maxRequestBodyBytes threshold of 1 MB (1024 * 1024) and destroys the request when it is exceeded. The source does not state a released fixed version.