{"id":82209,"date":"2026-07-19T00:47:03","date_gmt":"2026-07-18T21:17:03","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-12228-stored-xss-in-direct-messages-via-prompt-sharing-in-parisneo-lollms\/"},"modified":"2026-07-19T00:47:03","modified_gmt":"2026-07-18T21:17:03","slug":"cve-2026-12228-stored-xss-in-direct-messages-via-prompt-sharing-in-parisneo-lollms","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-12228-stored-xss-in-direct-messages-via-prompt-sharing-in-parisneo-lollms\/","title":{"rendered":"CVE-2026-12228 &#8211; Stored XSS in Direct Messages via Prompt Sharing in parisneo\/lollms"},"content":{"rendered":"<p>CVE ID :CVE-2026-12228<\/p>\n<p>  Published : July 18, 2026, 9:17 p.m. | 23\u00a0minutes ago<\/p>\n<p>  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&#8217;s browser context. This vulnerability enables any authenticated user to send a malicious prompt-share message to another user&#8217;s inbox, leading to arbitrary JavaScript execution, authenticated actions as the victim, exposure of same-origin application data, and potential account takeover.<\/p>\n<p>  Severity: 8.7 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-12228 Published : July 18, 2026, 9:17 p.m. | 23\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82209","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82209"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82209\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}