Description
Trudesk through 1.2.11 contains a server-side JavaScript injection vulnerability that allows authenticated users to inject code into a MongoDB $where clause via the search parameter. Attackers can close the regular expression in GET /api/v1/tickets/search to loop mongod for denial of service or leak full ticket documents including internal notes.
Published: 2026-10-21
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Denial of Service and Information Disclosure
Action: Patch ASAP
AI Analysis

Impact

Trudesk before version 1.2.12 includes a server‑side JavaScript injection flaw that lets an authenticated user insert arbitrary code into the MongoDB $where clause via the tickets search API. By closing the regular expression in the GET /api/v1/tickets/search request, an attacker can cause the database to execute a tight loop that exhausts resources, resulting in a denial of service, or retrieve the complete ticket documents, exposing internal notes and other sensitive data. This is a direct impact on confidentiality and availability because the attacker can read sensitive information and interrupt normal service operation.

Affected Systems

The affected products are Trudesk, developed by polonel, in all releases up to and including 1.2.11. The vulnerability exists for any deployment that exposes the API to authenticated users.

Risk and Exploitability

The CVSS score is 7.1, indicating a high severity vulnerability. This flaw corresponds to CWE‑943, server‑side JavaScript injection. No EPSS score is available, and the issue is not listed in CISA KEV. The attack vector requires authenticated access to the API, so users with valid credentials can exploit the flaw. Exploitation is relatively straightforward: submit a crafted search query with a malicious $where expression. Once triggered, the system may become unresponsive or leak confidential data.

Generated by OpenCVE AI on October 21, 2026 at 18:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check Trudesk's vendor website for the latest release that addresses this vulnerability, and upgrade to that version when available.
  • If an upgrade cannot be performed immediately, limit API access to trusted users and validate the search parameter to reject malformed or overly complex queries.
  • Enforce least‑privilege authentication so that only users who truly need search access can use the endpoint.

Generated by OpenCVE AI on October 21, 2026 at 18:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
Description Trudesk through 1.2.11 contains a server-side JavaScript injection vulnerability that allows authenticated users to inject code into a MongoDB $where clause via the search parameter. Attackers can close the regular expression in GET /api/v1/tickets/search to loop mongod for denial of service or leak full ticket documents including internal notes.
Title Trudesk through 1.2.11 MongoDB $where Injection via tickets search API
First Time appeared Trudesk Project
Trudesk Project trudesk
Weaknesses CWE-943
CPEs cpe:2.3:a:trudesk_project:trudesk:*:*:*:*:*:*:*:*
Vendors & Products Trudesk Project
Trudesk Project trudesk
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Trudesk Project Trudesk
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T12:39:50.810Z

Reserved: 2026-10-21T11:46:43.498Z

Link: CVE-2026-114396

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T13:18:30.493

Modified: 2026-10-21T13:18:30.493

Link: CVE-2026-114396

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T18:15:11Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic