Description
A stored cross-site scripting (XSS) vulnerability exists in osTicket 1.18.3 due to improper sanitization of the thread entry title field. User-controlled input in the title is stored without adequate HTML escaping and later rendered in multiple staff-facing templates without proper output encoding. An attacker can inject arbitrary JavaScript by submitting a crafted ticket reply or email with a malicious subject line.
Published: 2026-08-03
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stored XSS vulnerability was discovered in osTicket 1.18.3 caused by inadequate sanitization of the thread entry title field. The subject line supplied by a user is saved to the database unchanged and later rendered within multiple staff‑facing templates without proper HTML escaping. This allows an attacker to embed malicious JavaScript that will execute in the browser of any staff member who views the affected ticket thread.

Affected Systems

osTicket version 1.18.3 is affected. Any installation that accepts ticket replies or email submissions with a custom subject line is at risk. The vulnerability manifests in staff templates such as reply‑expand.tmpl.php, thread‑entries.tmpl.php and thread‑entry.tmpl.php where the title field is output directly.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. The EPSS score is less than 1% and the issue is not listed in the CISA KEV catalog, suggesting no widespread exploits yet. The flaw is trivially exploitable because any user able to submit a ticket reply or email can trigger it. The injected script runs in the context of the staff browser when a ticket thread is viewed, which can compromise the integrity of the staff session and allow client‑side code execution.

Generated by OpenCVE AI on August 4, 2026 at 22:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest osTicket release or merge the commit that sanitizes the thread entry title field; this is the recommended permanent fix.
  • If an update cannot be applied immediately, modify the affected staff‑facing templates to escape the title field using a safe function such as htmlspecialchars() before rendering.
  • Deploy a Content Security Policy for staff routes that blocks inline scripts (e.g., Content‑Security‑Policy: script-src 'none') or configure the web server to set CSP headers to mitigate script execution.

Generated by OpenCVE AI on August 4, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Title Stored Cross‑Site Scripting in osTicket Thread Entry Title Field

Mon, 03 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Osticket
Osticket osticket
Vendors & Products Osticket
Osticket osticket

Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Description A stored cross-site scripting (XSS) vulnerability exists in osTicket 1.18.3 due to improper sanitization of the thread entry title field. User-controlled input in the title is stored without adequate HTML escaping and later rendered in multiple staff-facing templates without proper output encoding. An attacker can inject arbitrary JavaScript by submitting a crafted ticket reply or email with a malicious subject line.
References

Subscriptions

Osticket Osticket
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-03T19:32:20.410Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-38446

cve-icon Vulnrichment

Updated: 2026-08-03T19:32:16.630Z

cve-icon NVD

Status : Received

Published: 2026-08-03T19:16:46.793

Modified: 2026-08-03T20:17:22.860

Link: CVE-2026-38446

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:30:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')