Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege Trudesk account
-
ExploitCraft search param closing the regex
-
ExecutionInject JavaScript into MongoDB $where clause
-
ImpactLoop mongod for DoS or exfiltrate full ticket documents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | Requires an authenticated Trudesk account (any low-privilege user suffices, per PR:L) with access to the GET /api/v1/tickets/search API endpoint. The attacker supplies a search parameter that terminates the regular expression and injects JavaScript into the MongoDB $where clause used by the ticket search query; this works against a default Trudesk deployment backed by MongoDB with no special configuration toggle needed. The primary limiting factor is authentication - exploitation is not possible pre-auth - so realistic risk is from malicious or compromised low-privilege users rather than anonymous internet attackers. Impact scales with MongoDB server-side JavaScript being enabled (the default assumption for the $where evaluation path). |
| Impact | This is a genuine but moderate-priority issue, not an inflated high-CVSS finding. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H, score 7.1) indicates network-reachable, low-complexity exploitation that requires low-level authentication (PR:L) - an existing Trudesk user account - with the dominant impact being availability (VA:H, the mongod denial-of-service loop) and a secondary confidentiality leak (VC:L, exposure of ticket documents and internal notes). Exploitation status: no public exploit identified at time of analysis - the input provides no KEV listing and no explicit POC flag, though a third-party HackMD write-up and a VulnCheck advisory describe the technique, so weaponization is low-effort even if no packaged exploit is confirmed. No EPSS score was supplied, so widespread-exploitation probability cannot be quantified, and no SSVC decision data was provided. The authentication requirement (PR:L) and the niche footprint of Trudesk meaningfully cap real-world risk; this is a credible insider/low-privilege-abuse and limited-data-exposure problem rather than an internet-wide mass-exploitation threat. Note the confidentiality impact is low per the vector despite the description citing leakage of 'full ticket documents including internal notes' - defenders handling sensitive helpdesk data may reasonably weigh that exposure higher than VC:L implies. |
| Exploit ScenarioDerived | A low-privileged authenticated Trudesk user (or an attacker who has obtained any valid account) sends a crafted GET request to /api/v1/tickets/search where the search parameter closes the regular expression and injects JavaScript into the MongoDB $where clause. Depending on the payload, this either forces mongod into an expensive/infinite evaluation loop causing denial of service, or returns ticket documents beyond the user's intended scope, leaking internal notes. No public packaged exploit is confirmed, but a HackMD write-up documents the technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Authenticated NoSQL injection in Trudesk through 1.2.11 lets any low-privilege account manipulate the MongoDB $where clause in GET /api/v1/tickets/search, causing high-impact denial of service by looping mongod and exposing full ticket documents including internal notes. The flaw requires a valid account, so exploitation is not possible pre-auth, and no public exploit was identified at time of analysis. Risk is moderate and centered on malicious or compromised low-privilege users rather than anonymous internet attackers.
RemediationAI
No vendor-released patch with an exact fixed version is identified in the provided data, and the advisory covers Trudesk through 1.2.11; track https://github.com/polonel/trudesk and the VulnCheck advisory for an update and upgrade as soon as a fixed release is available. Until then, restrict GET /api/v1/tickets/search to trusted authenticated users, since exploitation requires a valid low-privilege account, and add server-side validation that rejects search values containing $where or JavaScript syntax; this may alter legitimate search behavior. Where feasible, start MongoDB with --noscripting to disable server-side JavaScript, which blocks $where-based injection but can break any Trudesk feature that relies on server-side JS and should be tested first. Monitor mongod for long-running or CPU-intensive queries and review ticket-search access logs for anomalous patterns.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) applies here: the ticket search API builds a regular expression from the search parameter and passes it into a MongoDB $where JavaScript expression. By closing the regex, an authenticated attacker can inject arbitrary server-side JavaScript. MongoDB evaluates $where inside the mongod process, so an injected loop can consume CPU and make the database unavailable, matching the assessed A:H impact, while query manipulation can return records beyond the caller's intended scope and leak ticket contents and internal notes, matching C:L. The affected code is in src/models/ticket.js around lines 1184-1215 of the v1.2.11 source tree, and the CPE covers all polonel:trudesk versions through 1.2.11.
Know when Trudesk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable search API with low attacker complexity but requires an authenticated low-privilege account (PR:L); dominant impact is availability (mongod DoS loop, A:H) with limited data leakage (C:L) and no integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Trudesk through 1.2.11 contains a high-severity flaw that allows a low-privilege user with a valid account to disrupt ticket search and potentially expose sensitive internal ticket notes, affecting support operations and confidentiality. Because exploitation requires an existing account and no public exploit identified at time of analysis, the immediate risk centers on malicious or compromised internal users rather than anonymous internet attackers; leadership should prioritize access restrictions, monitoring, and contingency planning while no vendor-released patch is identified.
No vendor-released patch identified at time of analysis; interim mitigations include restricting Trudesk access to trusted users, enforcing least privilege, monitoring and alerting on anomalous GET /api/v1/tickets/search requests, restricting MongoDB network access, and filtering $where or injection-like payloads at the WAF.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Unrestricted Upload of File with Dangerous Type in GitHub repository polonel/trudesk prior to 1.2.4. Rated critical seve
Incorrect Use of Privileged APIs in GitHub repository polonel/trudesk prior to 1.2.4. Rated critical severity (CVSS 9.8)
Weak Password Requirements in GitHub repository polonel/trudesk prior to 1.2.2. Rated critical severity (CVSS 9.8), this
Execution with Unnecessary Privileges in GitHub repository polonel/trudesk prior to 1.2.3. Rated high severity (CVSS 8.8
Improper Privilege Management in GitHub repository polonel/trudesk prior to 1.2.2. Rated high severity (CVSS 8.8), this
Incorrect Synchronization in GitHub repository polonel/trudesk prior to 1.2.3. Rated high severity (CVSS 8.1), this vuln
Unrestricted Upload of File with Dangerous Type in GitHub repository polonel/trudesk prior to 1.2.2. Rated high severity
The trudesk application allows large characters to insert in the input field "Full Name" on the signup field which can a
Improper Restriction of Rendered UI Layers or Frames in GitHub repository polonel/trudesk prior to 1.2.2. Rated medium s
Use of Incorrect Operator in GitHub repository polonel/trudesk prior to 1.2.3. Rated medium severity (CVSS 6.5), this vu
Integer Overflow or Wraparound in GitHub repository polonel/trudesk prior to 1.2.2. Rated medium severity (CVSS 6.5), th
Allowing long password leads to denial of service in polonel/trudesk in GitHub repository polonel/trudesk prior to 1.2.2
EUVD-2026-107243
GHSA-7g8w-325w-mwfp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB