CVE-2026-12228
Last modified
CVE-2026-12228 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| parisneo | parisneo/lollms | <= latest |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-12228?
How severe is CVE-2026-12228?
How do I fix CVE-2026-12228?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12220A vulnerability has been found in Yealink SIP-T46U 108.86.0.…8
- CVE-2026-12221A vulnerability was found in Yealink SIP-T46U 108.86.0.118. …8
- CVE-2026-12222A vulnerability was determined in Yealink SIP-T46U 108.86.0.…8
- CVE-2026-12223A vulnerability was identified in Yealink SIP-T46U 108.86.0.…5.5
- CVE-2026-12224The Dokan Pro plugin for WordPress is vulnerable to privileg…8.8
- CVE-2026-12225syracom AG Secure Login (2FA) for Atlassian Jira, Confluence…8.7
- CVE-2026-1223PrismX MX100 AP controller developed by BROWAN COMMUNICATION…6.9
- CVE-2026-12231The Exclusive Addons for Elementor plugin for WordPress is v…6.4
- CVE-2026-12232The Intel ALH digital-audio-interface driver function dai_al…6.1
- CVE-2026-12233The PSA Protected Storage credential backend (subsys/net/lib…5.9
- CVE-2026-12234The userspace syscall verifiers z_vrfy_zsock_sendmsg() and z…7.8
- CVE-2026-12235The Linkable Loadable Extensions (llext) subsystem mis-handl…6.3
Are you affected by CVE-2026-12228?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
