CVE-2026-121375 in Checkmk
Summary
by MITRE • 11/24/2026
Reflected cross-site scripting in the versioned REST API documentation page in Checkmk versions 2.5.0 before 2.5.0p21 allows an unauthenticated attacker to execute arbitrary JavaScript in the browser of a user who opens a crafted link, in the context of that user's Checkmk session. The API version segment of the documentation URL is inserted into the page without escaping, and the page is reachable without authentication.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified as reflected cross-site scripting within the Checkmk platform affects versions prior to 2.5.0p21, specifically targeting the REST API documentation interface. This security flaw arises from a failure in input validation and output encoding mechanisms when processing URL parameters associated with the API version segment of the documentation page. The core technical deficiency lies in the server-side rendering logic which directly injects user-supplied data into the HTML response without applying appropriate escaping or sanitization procedures. Consequently, any special characters or script payloads embedded within the request are preserved and executed by the victim's web browser upon loading the maliciously crafted URL. This type of flaw is classically categorized under CWE-79, which defines Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting (XSS). The reflected nature of this attack vector means that the payload must be delivered via a link to trigger execution, relying on social engineering or phishing tactics to entice an authenticated user into visiting the compromised endpoint.
From an operational perspective, the impact of this vulnerability is significant due to its unauthenticated accessibility and high privilege context. Although the documentation page itself does not require authentication to view, it resides within a domain that maintains active session cookies for users who are logged into the Checkmk monitoring system. When an attacker crafts a URL containing malicious JavaScript code as part of the API version parameter and tricks a privileged administrator or operator into clicking it, the browser executes the script in the context of the victim's authenticated session. This allows the attacker to perform actions on behalf of the user, such as exfiltrating sensitive monitoring data, modifying system configurations, creating new administrative accounts, or redirecting the user to malicious external sites. The ability to execute arbitrary JavaScript effectively compromises the confidentiality and integrity of the Checkmk environment, potentially leading to broader network compromise if the monitored systems are critical infrastructure components.
The attack vector aligns with MITRE ATT&CK technique T1059.007, which covers Command and Scripting Interpreter: JavaScript, specifically in the context of browser-based execution for credential theft or session hijacking. Furthermore, it relates to TA0005, Defense Evasion, if used to bypass security controls by manipulating client-side logic, though its primary classification remains under Initial Access via phishing components when delivered through deceptive links. The lack of authentication required to access the vulnerable page lowers the barrier for entry significantly, as any internet user can generate a malicious link without needing prior credentials. However, exploitation requires an additional step where a valid session holder interacts with that link, making it dependent on human interaction rather than fully automated remote code execution.
Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. The primary solution is to apply the vendor-provided patch by upgrading Checkmk to version 2.5.0p21 or later, which resolves the input handling logic in the documentation module. Until patches can be applied, administrators should consider restricting access to the API documentation interface using network-level controls such as firewall rules or reverse proxy configurations that limit visibility to trusted internal IP ranges only. Additionally implementing a Web Application Firewall with robust XSS detection capabilities may help block malicious payloads before they reach the application server, although this is not a substitute for fixing the underlying code defect. Developers and security teams should also conduct a review of other documentation endpoints to ensure consistent input validation practices are applied across all user-facing interfaces. Regular vulnerability scanning and penetration testing focused on reflected XSS vectors will help identify similar weaknesses in future updates or custom integrations within the Checkmk ecosystem.