osTicket before 1.17.9 and 1.18.0 before 1.18.5 Unauthenticated Stored XSS via Email Collaborator Names
- CVE-2026-144337
- EUVD-2026-144505
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.
Text from the CVE.org record.
Recommendation
osTicket
- If you run 1.18.xupdate to 1.18.5 or laterPatch update: breaking changes are unlikely
- If you run a version from 1.9.3 to before 1.17.9update to 1.17.9 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
osTicket
Affected versions Fixed in from 1.18.0 to before 1.18.5 1.18.5 from 1.9.3 to before 1.17.9 1.17.9
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.