MISP versions prior to 2.5.52 contain a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipeline. This flaw arises because the client-side sanitization escapes only ampersand, less-than, and greater-than characters but fails to escape quote characters. An authenticated user with permission to create or edit report elements can inject malicious JavaScript that executes in the browser of any user viewing the crafted report. This can lead to session token theft or unauthorized actions performed on behalf of the victim.