Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred