HIGH · CVSS 4.0 EPSS 0.5% · 36th percentile CWE-248

CVE-2026-76892: tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process

Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-4p8p-pjpq-2w7h

Summary

The @tsparticles/mcp-server package suffers from an unhandled exception vulnerability during JSON parsing. Developers must upgrade to version 4.3.1 or higher to prevent remote denial-of-service attacks.

Who is affected

Unauthenticated remote attackers can crash the Node.js process by sending a single malformed JSON request to the /mcp endpoint. Because the error is not caught, the server terminates immediately and requires an external supervisor to restart. This vulnerability impacts any deployment running versions prior to 4.3.1.

Exploitability

The vulnerability is highly exploitable as it requires no authentication, low attack complexity, and no user interaction. With a CVSS 4.0 base score component indicating high availability impact and an EPSS score of 0.003, the flaw poses a significant operational risk, though it is not currently listed in CISA's Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm @tsparticles/mcp-server >= 0, < 4.3.1 4.3.1 npm install @tsparticles/[email protected]

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsNone
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)None
Availability (vulnerable system)High
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

Does this vulnerability lead to remote code execution?

No. The vulnerability is categorized as a denial-of-service issue where the process terminates due to an unhandled exception, but there is no evidence of arbitrary code execution.

Is this vulnerability actively exploited in the wild?

There is no evidence of active exploitation documented in the CISA Known Exploited Vulnerabilities catalog.

What is the root cause of the crash?

The application calls JSON.parse() on request bodies without a try/catch block, causing a syntax error exception to bubble up and crash the Node.js process when invalid JSON is provided.

Original advisory description
## Summary The HTTP mode of `@tsparticles/mcp-server` parses incoming `/mcp` request bodies with `JSON.parse()` outside a request-local error boundary. A single malformed JSON request causes the async request handler to throw and terminates the Node.js process. This was verified on `v4.3.0` at commit `0266d469aa2d719cb66a9c6bf09aded4186ec17c`. Version `4.3.1` appears to fix this by returning HTTP 400 for invalid JSON. ## Affected Code The vulnerable handler is: if (req.method === "POST" && req.url === "/mcp") { const body = await new Promise<string>((resolve, reject) => { const chunks: Buffer[] = []; req.on("data", (chunk) => chunks.push(Buffer.from(chunk))); req.on("end", () => resolve(Buffer.concat(chunks).toString("utf8"))); req.on("error", reject); }); const parsedBody = body ? JSON.parse(body) : undefined; await transport.handleRequest(req, res, parsedBody); } The `JSON.parse()` call is not wrapped in `try/catch`. ## Reproduction Start the HTTP server and send this malformed request: POST /mcp HTTP/1.1 Content-Type: application/json Mcp-Protocol-Version: 2025-11-25 {"jsonrpc": Observed result in 3 out of 3 runs: exit_code=1 SyntaxError: Unexpected end of JSON input at Server.<anonymous> (integrations/mcp-server/src/index.ts:407:38) ## Impact An unauthenticated remote attacker can terminate the exposed MCP process with a single malformed request. The service remains unavailable until restarted by an external supervisor. ## Recommendation Wrap request parsing in a local `try/catch` and return a bounded HTTP 400 response such as: {"error":"Invalid JSON"} The process should remain alive after malformed requests.

References

Source records: GHSA-4p8p-pjpq-2w7h (OSV.dev) · EPSS by FIRST, 2026-11-26.