CVE-2026-135237 in MISP
Summary
by MITRE • 11/23/2026
MISP contains a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipeline. The client-side sanitization function used to prepare values for doT templates only escaped ampersand, less-than, and greater-than characters. However, the templates place these values inside double-quoted HTML attributes. Because double-quote and single-quote characters were not escaped, a user with the ability to author or modify report element values could inject a quote character to break out of the attribute context and inject arbitrary HTML or JavaScript that executes in the viewing user's browser.
Preconditions: - The attacker must be an authenticated user with permission to create or edit event report elements (e.g., a report author). - A victim must open or view the crafted report in a browser.
Security impact: - Execution of arbitrary JavaScript in the context of the victim's MISP session. - Potential theft of session tokens, sensitive data, or unauthorized actions performed on behalf of the victim.
Affected versions: MISP prior to 2.5.52.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified within the Mission Information Sharing Platform (MISP) represents a classic instance of DOM-based Cross-Site Scripting rooted in insufficient input sanitization during client-side template rendering. The core technical flaw lies in the specific character escaping logic employed by the application's front-end pipeline. When preparing values for insertion into doT templates, the system only escapes ampersands, less-than signs, and greater-than signs. This approach is fundamentally flawed because it fails to account for the context in which these variables are ultimately rendered. The templates place user-supplied data inside double-quoted HTML attributes. By neglecting to escape single quotes or double quotes, the sanitization function allows an attacker to break out of the intended attribute scope. If a malicious actor injects a quote character followed by closing tags and script elements, they can effectively terminate the current attribute value and introduce arbitrary JavaScript code that executes within the victim's browser context upon rendering.
This vulnerability requires specific preconditions to be successfully exploited, primarily revolving around user permissions and interaction patterns. The attacker must possess an authenticated account with elevated privileges sufficient to create or modify event report elements within MISP. This typically includes roles such as report authors who have write access to organizational data. Once the malicious content is embedded in a report element by this authorized user, the exploitation phase triggers when another authenticated user views or opens that specific report. The browser parses the HTML structure of the rendered page and encounters the injected script tags within the attribute context. Because the quotes were not escaped, the parser interprets the injection as valid markup rather than data, leading to immediate execution of the malicious JavaScript payload in the security context of the victim's active MISP session.
The operational impact of this vulnerability is severe due to its ability to facilitate account takeover and sensitive data exfiltration. Since the injected script executes with the same privileges as the viewing user, an attacker can steal critical session tokens stored in cookies or local storage. These stolen credentials allow for unauthorized access to other parts of the MISP instance without needing further authentication steps. Furthermore, the arbitrary JavaScript execution enables a wide range of malicious activities including phishing attacks against colleagues within the threat intelligence community, manipulation of displayed data to mislead analysts, and automated actions performed on behalf of the victim such as exporting sensitive indicators or modifying organizational settings. This undermines the integrity and confidentiality guarantees that MISP is designed to provide for sharing cyber threat information.
From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Specifically, it falls under DOM-based XSS where the script originates from client-side code rather than server response modification. In terms of adversary tactics, this maps to ATT&CK technique T1059 Command and Scripting Interpreter for executing arbitrary commands or scripts within a victim's environment via browser context hijacking. The lack of proper output encoding relative to the specific HTML attribute context is a deviation from secure coding standards that mandate contextual escaping based on where data is inserted into the DOM structure.
Mitigation strategies must address both immediate remediation and long-term architectural improvements. For organizations currently running affected versions prior to 2.5.52, upgrading to version 2.5.52 or later is the primary corrective action as it resolves the sanitization logic flaw. In environments where patching is not immediately feasible, administrators should enforce strict role-based access control to limit who can create or edit report elements, thereby reducing the attack surface for potential insiders or compromised accounts with write permissions. Additionally implementing a Content Security Policy that restricts inline script execution can provide a layer of defense in depth by preventing the injected JavaScript from running even if it is successfully inserted into the DOM. Future development should prioritize using established templating engines that automatically handle context-aware escaping, ensuring that all user inputs are properly encoded regardless of their position within HTML attributes or other structural elements.