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.
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| polonel | trudesk | <= 1.2.11 |
References
- https://github.com/polonel/trudeskProduct
- https://github.com/polonel/trudesk/blob/v1.2.11/src/models/ticket.js#L1184-L1215Patch
- https://hackmd.io/@leediay/multiple-vuln-trudesk-1211Exploit, Third Party Advisory
- https://www.vulncheck.com/advisories/trudesk-through-1.2.11-mongodb-where-injection-via-tickets-search-apiThird Party Advisory
- https://hackmd.io/@leediay/multiple-vuln-trudesk-1211Exploit, Third Party Advisory
Timeline
- Published
- Oct 21, 2026
- Last modified
- Oct 30, 2026
- NVD status
- Analyzed