LibreChat
cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*
- <= 0.8.0
A stored cross-site scripting vulnerability has been identified in LibreChat versions through 0.8.0. The issue arises because the iconURL parameter in POST requests can be manipulated by users. This modified URL is saved in the chat history and can be shared with others. When the chat link is accessed, the recipient's browser loads resources from the potentially malicious URL, leading to privacy concerns. The vulnerability has been patched in version 0.8.1.
Exploitation of this vulnerability could result in stored cross-site scripting, where injected scripts are executed in the context of the user viewing the chat.
To reproduce this vulnerability, send a POST request to the chat endpoint with a modified iconURL parameter that includes a link to an external resource, such as an image. Once the chat is saved, share the chat link with another user. When the recipient opens the chat, their browser will fetch the resource from the malicious URL, demonstrating the privacy breach.
Users can update to LibreChat version 0.8.1 to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.