
Cross Site Scripting (XSS) Vulnerability in Fiora Chat Application
A Cross Site Scripting (XSS) vulnerability, identified as CVE-2025-56514, affects the Fiora chat application version 1.0.0. This vulnerability allows an authenticated user to execute arbitrary JavaScript in the context of another user's browser by uploading a malicious SVG file through the group avatar change functionality.
The following components in the Fiora chat application are impacted:
packages/server/src/routes/group.ts (group management routes)packages/web/src/modules/Chat/GroupManagePanel.tsx (group avatar upload interface)packages/web/src/service.ts (API service layer)packages/web/src/components/Avatar.ts (avatar rendering component)An authenticated user with creator privileges in a group can exploit this vulnerability by:
/GroupAvatar/ directory.Avatar.tsx component in another user's browser, the embedded JavaScript executes, enabling XSS exploitation.<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100">
<foreignObject x="0" y="0" width="100" height="100">
</foreignObject>
<text x="0" y="15"></text>
</svg>