Advisories

osTicket before 1.17.9 and 1.18.0 before 1.18.5 Unauthenticated Stored XSS via Email Collaborator Names

Go back
Severity
high
Date
Affecting
  • osTicket >= 1.18.0, < 1.18.5

  • osTicket >= 1.9.3, < 1.17.9

CWE
  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS
8.6
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Credit
Rahul Karne, Positive Technologies
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.