Summary
generated automatically from NVD dataosTicket before 1.17.9, and 1.18.0 before 1.18.5, has an unauthenticated stored cross-site scripting flaw in email-derived collaborator display names. User::fromVars() calls Format::htmldecode() after Format::sanitize(), so a double-encoded payload in a To or Cc name is stored as active markup, and ticket-preview.tmpl.php then outputs it via getName() unescaped. A crafted inbound email can run JavaScript in an administrator's session during ticket preview, letting the attacker read the CSRF token and create a persistent administrator account. The CVSS score is 9.3 (CRITICAL).
NVD 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.
CVSS v3.1 Score
Information
- Published
- 4 déc. 2026
- Updated
- 4 déc. 2026
- Status
- Deferred
- Source
- disclosure@vulncheck.com
Weaknesses (CWE)
References (5)
Similar CVEs
Other vulnerabilities of type CWE-79
Know which CVEs hit the versions you run.
Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.