漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Stored XSS in Direct Messages via Prompt Sharing in parisneo/lollms
Vulnerability Description
A stored cross-site scripting (XSS) vulnerability exists in the `POST /api/prompts/share` endpoint of parisneo/lollms (latest version). The endpoint stores attacker-controlled `prompt_content` into `DBDirectMessage.content` without server-side sanitization. When a victim opens the direct message (DM) thread, the message is rendered by the DM UI through `MessageContentRenderer`, which uses `v-html` to insert rendered HTML into the DOM. The frontend sanitizer, which is regex-based, fails to comprehensively sanitize attacker-controlled HTML, allowing malicious payloads to execute in the victim's browser context. This vulnerability enables any authenticated user to send a malicious prompt-share message to another user's inbox, leading to arbitrary JavaScript execution, authenticated actions as the victim, exposure of same-origin application data, and potential account takeover.
CVSS Information
N/A
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
parisneo lollms web ui 跨站脚本漏洞
Vulnerability Description
parisneo lollms web ui是parisneo个人开发者开源的一个大语言模型对话交互界面。 parisneo lollms web ui 存在跨站脚本漏洞,该漏洞源于`POST /api/prompts/share`端点未对`prompt_content`进行服务器端验证,存储到`DBDirectMessage.content`中,且前端基于正则的清理程序未能全面清理攻击者控制的HTML,导致当受害者打开私信线程时,消息通过`MessageContentRenderer`使用`v-html
CVSS Information
N/A
Vulnerability Type
N/A