{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-12228","published":"2026-07-18T21:17:03.040000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*","part":"a","vendor":"lollms","product":"lollms","version_end_including":"2.1.0"}],"cpes_truncated":false,"vendors":["lollms"],"products":["lollms/lollms"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-12228/","html_en":"/en/cve/CVE-2026-12228/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12228","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-12228"},"untrusted":{"vendor_name":"Lollms","product_name":"Lollms","desc_en":"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.","affected":[{"untrusted_vendor":"parisneo","untrusted_product":"parisneo/lollms","versions":[]}],"references":[{"url":"https://huntr.com/bounties/25623635-5ceb-4062-8289-02089e6d97c1","tags":["Exploit","Third Party Advisory"]}]}}