CVE-2026-135236 in MISP
Summary
by MITRE • 11/23/2026
MISP contains a stored cross-site scripting (XSS) vulnerability in its map attachment rendering. When a GPX or GeoJSON file is uploaded as an attachment to a MISP event, the waypoint names (GPX) and property names and values (GeoJSON) are inserted into Leaflet map popups without HTML escaping. Because Leaflet renders popup content as raw HTML, any markup or script embedded in those fields is executed in the browser of every user who views the map and interacts with the affected marker or icon.
Preconditions: - An authenticated user with permission to upload attachments to a MISP event crafts a GPX or GeoJSON file containing malicious HTML/JavaScript in waypoint names or GeoJSON property keys/values. - A victim user views the event map and clicks the affected marker or GeoJSON icon, triggering the popup.
Impact: - Execution of arbitrary JavaScript in the context of the MISP web application, potentially leading to session hijacking, data exfiltration, or unauthorized actions performed on behalf of the victim.
Affected versions: MISP prior to 2.5.52.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified within the Management Information Sharing Platform (MISP) represents a critical stored cross-site scripting flaw located in the rendering logic for map attachments, specifically affecting GPX and GeoJSON file types. This security defect arises from an insufficient sanitization of user-supplied input when processing geographic data files uploaded as event attachments. When these files are ingested by the system, specific fields such as waypoint names in GPX formats or property keys and values within GeoJSON structures are extracted for display purposes. Instead of applying proper HTML escaping before insertion into the Leaflet map interface, MISP passes this raw content directly to the browser's rendering engine. Since Leaflet is configured to render popup content as unescaped HTML rather than plain text, any malicious markup or script tags embedded within these geographic metadata fields are preserved and executed when a user interacts with the corresponding map markers.
The operational impact of this vulnerability is severe due to its stored nature, which means the payload persists on the server side until the attachment is removed or the event is deleted. An authenticated attacker possessing upload permissions can craft a malicious GPX or GeoJSON file containing obfuscated JavaScript code within waypoint names or property values. When another user views the associated MISP event and clicks on the affected map marker to view its details, the browser executes the injected script in the context of the MISP web application domain. This allows for session hijacking through cookie theft, data exfiltration by sending sensitive intelligence reports to external servers, or performing unauthorized actions such as modifying events or exporting datasets without proper authorization checks. The attack requires no additional social engineering beyond the initial upload and relies on standard user interaction with map features, making it highly exploitable in environments where multiple users frequently review shared threat intelligence maps.
From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting (XSS). Specifically, it falls under the stored variant where malicious scripts are permanently stored within target servers. In terms of adversary tactics and techniques, this flaw facilitates exploitation consistent with ATT&CK technique T1059 Command and Scripting Interpreter, allowing attackers to execute arbitrary code in a victim's browser context. It also relates to T1078 Valid Accounts if the attacker leverages compromised credentials to upload the malicious files, and potentially T1041 Exfiltration Over C2 Channel for data theft resulting from successful script execution. The root cause is fundamentally an input validation failure where trusted geographic formats are treated as safe without verifying that their internal metadata does not contain executable code.
Mitigation strategies must focus on both immediate patching and long-term architectural improvements. Organizations running MISP versions prior to 2.5.52 should upgrade immediately to the patched version which implements proper HTML escaping for all dynamic content rendered in Leaflet popups. For environments where upgrading is temporarily not feasible, input validation controls can be applied at the ingestion layer to strip or encode special characters such as angle brackets and quotes within waypoint names and GeoJSON properties before they are stored in the database. Additionally, implementing a Content Security Policy (CSP) with strict directives against inline script execution can significantly reduce the impact of this vulnerability by preventing the browser from running untrusted scripts even if they are injected into the DOM. Regular security audits of file upload handlers and map rendering components should be conducted to ensure that all user-controlled data is treated as untrusted until explicitly sanitized for its specific context of use.