SecurityContext

CVE-2022-31889: osTicket - Reflected XSS

  • Cve: CVE-2022-31889
  • Name: osTicket - Reflected XSS
  • Description: Cross Site Scripting (XSS) vulnerability in audit/templates/auditlogs.tmpl.php in osTicket osTicket-plugins before commit a7842d494889fd5533d13deb3c6a7789768795ae.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  • Remediation: Apply input sanitization and validation in auditlogs.tmpl.php, update to the latest version of osTicket with security patches.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to load malicious input
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00651
  • Epss percentile: 0.51957
  • Assignee: [email protected]
  • Published at: 2023-04-05T22:15:07Z
  • Age in days: 1329
  • Modified at: 2026-06-17T04:46:25Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31889
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://checkmarx.com/blog/securing-open-source-solutions-a-study-of-osticket-vulnerabilities/nvd2023-04-05
https://github.com/reewardius/CVE-2022-31889poc-in-github2023-02-18

References

UrlSourceTags
https://github.com/osTicket/osTicket-plugins/commit/047a1c3ae4f12f8952bbdad8143d5b74fdac14b1nvdPatch
https://checkmarx.com/blog/securing-open-source-solutions-a-study-of-osticket-vulnerabilities/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
enhancesoft:audit_log< 2022-04-21nonvd/v1/products/enhancesoft/audit_log

Projects

RepositoryLink kindsIndexedUrl
osTicket/osTicket-pluginscommit, fixyes/v1/repositories/osTicket/osTicket-plugins

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2023-02-18
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts