MISP versions prior to 2.5.52 contain a cross-site scripting (XSS) vulnerability in the feed and server event preview pages. This occurs when remote MISP instances supply object or reference UUIDs and IDs with special characters that are improperly escaped in HTML and JavaScript contexts. An attacker controlling a remote MISP instance can inject malicious scripts that execute in the browser of an authenticated user viewing the event preview, potentially leading to session hijacking or unauthorized actions.