Stored cross-site scripting in osTicket via email collaborator names
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
osTicket from 1.9.3 before 1.17.9 and from 1.18.0 before 1.18.5 contains a stored cross-site scripting flaw in email-derived collaborator display names. Sanitization runs before HTML decoding, so a double-encoded payload in a To or Cc display name is stored as active markup (CWE-79). An unauthenticated remote attacker sends a crafted inbound email, and the script runs in an administrator's session when the administrator previews the ticket.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade osTicket to 1.18.5 or 1.17.9, the fixed versions listed for this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA osTicket (osTicket) Fixed in 1.18.5, 1.17.9
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144337
References
More osticket vulnerabilities
- TI-2022-03911 Cross-site Scripting (XSS) - Reflected in osticket/osticket CVSS 3.1MEDIUM 5.4
- TI-2026-27809 Cross-site scripting in osTicket CVSS 3.1MEDIUM 6.4
- TI-2023-01247 Cross-site Scripting (XSS) - Stored in osticket/osticket CVSS 3.1MEDIUM 6.1
- TI-2025-28770 osTicket prior to v1.17.6 and v1.18.2 are vulnerable to Broken Access Control Vulnerability in /scp/ajax.php. CVSS 3.1MEDIUM 5.4
- TI-2023-01245 Cross-site Scripting (XSS) - Generic in osticket/osticket CVSS 3.1MEDIUM 5.4
- TI-2023-01244 Cross-site Scripting (XSS) - Reflected in osticket/osticket CVSS 3.1MEDIUM 5.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences