A stored cross-site scripting issue allows authenticated users to upload SVG or HTML attachments using a custom content type. An attacker can then provide the same-origin '/api/attachments/read' endpoint URL, which is served inline with an empty Content-Security-Policy (a security layer that helps detect and mitigate certain types of attacks), enabling the execution of scripts within the victim's session to perform unauthorized API actions.