PT-2026-60988 · Parisneo · Lollms
CVE-2026-12228
·
Published
2026-07-18
·
Updated
2026-07-18
CVSS v3.1
8.7
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
parisneo/lollms (affected versions not specified)
Description
A stored cross-site scripting (XSS) issue exists in the
POST /api/prompts/share endpoint. The system stores the prompt content variable into DBDirectMessage.content without server-side sanitization. When a user opens a direct message thread, the MessageContentRenderer function uses v-html to insert HTML into the DOM. Because the regex-based frontend sanitizer is insufficient, malicious payloads can execute in the browser. This allows an authenticated user to send a malicious message to another user, leading to arbitrary JavaScript execution, unauthorized actions, exposure of application data, and potential account takeover.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Restrict the use of the
prompt content parameter in the POST /api/prompts/share endpoint to minimize the risk of exploitation.XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Lollms