Description
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with queries. It was found that the file-upload functionality has fewer (or no) mitigations implemented for file content checks; also, the output is not handled properly, causing persistent XSS that leads to cookie stealing or malicious actions. For example, a non-agent user can upload a .html file, and Content-Disposition will be set to inline instead of attachment.
Remediation
References
Related Vulnerabilities
WordPress Plugin WF Cookie Consent Cross-Site Scripting (1.1.3)
WordPress Plugin Custom Background 'uploadify.php' Arbitrary File Upload (1.01)
IBM RTC Generation of Error Message Containing Sensitive Information (CVE-2020-4487)
WordPress Plugin FunCaptcha-Anti-Spam CAPTCHA Cross-Site Request Forgery (0.3.2)