Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.7
CVE-2026-12228: Stored Cross-Site Scripting in Parisneo Lollms Direct Messages
CVE-2026-12228
CVE-2026-12228
Summary
A vulnerability in Parisneo Lollms allows an attacker to send malicious messages to another user's inbox. This could lead to the attacker taking control of the victim's account, accessing sensitive information, and performing actions on their behalf. To protect against this, update to the latest version of Parisneo Lollms or apply any available security patches.
What to do
No fix is available yet. Check with your software vendor for updates.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| parisneo | parisneo/lollms | <= latest |
Original title
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...
Original 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.
nvd CVSS3.0
8.7
Vulnerability type
CWE-79
Cross-site Scripting (XSS)
Published: 18 Jul 2026 · Updated: 20 Jul 2026 · First seen: 18 Jul 2026