CVE-2026-144337: osTicket before 1.17.9 and 1.18.0 before 1.18.5 Unauthenticated Stored XSS via Email Collaborator Names
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulnerability in email-derived collaborator display names. User::fromVars() applies Format::htmldecode() after Format::sanitize(), so a double-encoded HTML payload in a To or Cc display name survives sanitization and is stored as active markup. The staff ticket preview (ticket-preview.tmpl.php) then renders the name via getName() without escaping. Attackers can send a crafted inbound email to execute arbitrary JavaScript in an administrator's session when the administrator previews the ticket, allowing them to read the CSRF token and create a persistent, attacker-controlled administrator account.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments running osTicket versions before 1.17.9, or versions from 1.18.0 before 1.18.5, are affected. An attacker does not need an osTicket account; they can trigger the issue by sending a crafted inbound email.
What user interaction is required for exploitation?
A staff member or administrator must preview the ticket containing the crafted email. When the ticket preview renders the malicious collaborator name, the payload executes in that user's authenticated browser session.
What can an attacker do after successful exploitation?
The injected JavaScript can read the administrator's CSRF token and create a persistent administrator account controlled by the attacker. The issue affects confidentiality and integrity in the administrator's session.
How can I look for signs of attempted exploitation?
Review inbound tickets for unusual or double-encoded HTML content in To or Cc display names, especially names that decode into markup. Also review administrator-account creation activity for unexpected accounts, since successful exploitation can create a persistent attacker-controlled administrator account.
What should be prioritized if an immediate update is not possible?
Treat previews of untrusted inbound tickets as unsafe because viewing the ticket is the triggering action. Restrict or avoid staff previewing suspicious tickets and closely review inbound email display names until the affected version can be updated.