Skip to content
HighVulnerability

GHSA-4p8p-pjpq-2w7h: tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process

Published
Record updated
View JSON
Affected
  • @tsparticles/mcp-server <= 4.3.0
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.3%

Summary

The HTTP mode of @tsparticles/mcp-server parses POST /mcp request bodies with JSON.parse() outside any request-local error handling. A single malformed JSON request makes the async handler throw and terminates the Node.js process, which the author verified on v4.3.0 at commit 0266d469aa2d719cb66a9c6bf09aded4186ec17c. An unauthenticated remote attacker can take the MCP service offline until an external supervisor restarts it.

Mitigation

Version 4.3.1 appears to fix this by returning HTTP 400 for invalid JSON. The source recommends wrapping request parsing in a local try/catch and returning a bounded HTTP 400 response such as {"error":"Invalid JSON"}, with the process remaining alive after malformed requests.