Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113712 Overview
Cachet is an open-source status page system used by organizations to communicate service availability. CVE-2026-113712 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] affecting Cachet versions 2.4.1 and earlier. An authenticated attacker can inject malicious HTML or JavaScript through the incident creation form. The payload persists in the application and executes in the browser of any visitor who loads the status page. Successful exploitation can lead to session token theft and account takeover of users viewing the compromised page, including administrators.
Critical Impact
Authenticated attackers can inject persistent JavaScript into public status pages, enabling session hijacking and account takeover of any viewer, including administrators.
Affected Products
- Cachet (cachethq/core) versions 2.4.1 and earlier
- Cachet status page component rendering user-authored Markdown
- Cachet incident creation workflow
Discovery Timeline
- 2026-10-20 - CVE CVE-2026-113712 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-113712
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the incident creation form of Cachet. User-supplied content submitted through incident fields is persisted and later rendered on the public status page without adequate output sanitization. Because the status page is typically accessed by unauthenticated visitors and privileged operators alike, an attacker only needs incident-creation permissions to reach a broad audience. Any script executed in a victim's browser runs under the origin of the Cachet instance, which exposes authentication cookies, CSRF tokens, and application state.
Root Cause
The root cause is unsafe rendering of user-authored Markdown and HTML fields. In the patched component view, the raw expression {!! $component->description !!} was replaced with {!! $component->formattedDescription() !!}, routing content through a sanitization helper. The prior implementation emitted user input directly into the DOM using Blade's unescaped output syntax ({!! !!}), bypassing Laravel's default HTML escaping and allowing <script> and event-handler attributes to execute.
Attack Vector
Exploitation requires an authenticated account with permission to create incidents or components. The attacker submits an incident whose description, name, or component metadata contains an HTML or JavaScript payload. When any user, including anonymous visitors, loads the public status page, the payload executes in their browser context. This enables session token exfiltration, forced actions against the Cachet API, or redirection to attacker-controlled infrastructure.
// Patch excerpt from resources/views/components/component.blade.php
// Before (vulnerable): raw unescaped output of user-controlled description
- <p class="relative">{!! $component->description !!}</p>
// After (patched): output passes through sanitization helper
+ <p class="relative">{!! $component->formattedDescription() !!}</p>
Source: GitHub Commit 23adbb8
Detection Methods for CVE-2026-113712
Indicators of Compromise
- Incident, component, or status entries containing <script>, onerror=, onload=, or javascript: strings in the database
- Unexpected outbound requests from browsers viewing the status page to unfamiliar domains
- New or modified Cachet administrator accounts created shortly after status page visits
- Session tokens observed in web server access logs as query parameters to external hosts
Detection Strategies
- Review Cachet database tables storing incident and component descriptions for HTML tags and event-handler attributes
- Inspect web server logs for POST requests to incident creation endpoints followed by anomalous GET traffic from administrator sessions
- Apply a Content Security Policy (CSP) in report-only mode to surface inline script execution attempts on the status page
- Compare installed Cachet version against the patched commits 57b44a8bac0b250b0d5751e93e0349070d14606e and 23adbb88ffa819f92be4a905ff1d812670d980a2
Monitoring Recommendations
- Alert on authentication events from Cachet administrator accounts followed by rapid session reuse from a different IP address
- Monitor browser DOM telemetry or CSP violation reports for inline script execution on the status page origin
- Track audit logs for incident or component creation events authored by low-privilege users
How to Mitigate CVE-2026-113712
Immediate Actions Required
- Upgrade cachethq/core to a release that includes commits 57b44a8bac0b250b0d5751e93e0349070d14606e and 23adbb88ffa819f92be4a905ff1d812670d980a2
- Audit existing incidents, components, and metrics for stored HTML or script payloads and remove them
- Rotate session secrets and force reauthentication for all Cachet users, especially administrators
- Restrict incident-creation permissions to trusted operators until the patch is applied
Patch Information
The maintainers published fixes in the cachethq/core repository. Review the GitHub Security Advisory GHSA-x397-5hrv-j9m9 and apply the changes from Commit 23adbb8 and Commit 57b44a8. The primary fix routes user-authored Markdown through a formattedDescription() sanitizer rather than emitting it with Blade's raw output syntax.
Workarounds
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
- Temporarily disable the public status page or require authentication for viewers until patches are applied
- Limit incident creation to a small group of vetted administrators and review all submissions before publication
# Example CSP header to mitigate inline script execution on the status page
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'";
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

