Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12228: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in parisneo parisneo/lollms

0
High
VulnerabilityCVE-2026-12228cvecve-2026-12228cwe-79
Published: 07/18/2026 (07/18/2026, 20:36:36 UTC)
Source: CVE Database V5
Vendor/Project: parisneo
Product: parisneo/lollms

Description

CVE-2026-12228 is a stored cross-site scripting (XSS) vulnerability in the parisneo/lollms product affecting the POST /api/prompts/share endpoint. The vulnerability arises because attacker-controlled input is stored without server-side sanitization and later rendered unsafely in the victim's browser using a frontend sanitizer that is insufficient. This allows authenticated users to send malicious messages that execute arbitrary JavaScript in the context of the victim's browser, potentially leading to account takeover and data exposure.

CVSS v3.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 20:56:39 UTC

Technical Analysis

The vulnerability exists in the POST /api/prompts/share endpoint of parisneo/lollms, where the prompt_content parameter is stored directly into DBDirectMessage.content without proper server-side sanitization. When a victim views the direct message thread, the content is rendered using MessageContentRenderer with v-html, which inserts HTML directly into the DOM. The frontend uses a regex-based sanitizer that fails to fully neutralize malicious HTML, enabling stored XSS attacks. This allows any authenticated user to send a crafted prompt-share message that executes arbitrary JavaScript in the victim's browser, leading to authenticated actions, data exposure, and potential account takeover. The CVSS 3.0 score is 8.7 (High) with network attack vector, low attack complexity, required privileges, user interaction, and impacts on confidentiality and integrity with scope changed.

Potential Impact

Successful exploitation allows an authenticated attacker to execute arbitrary JavaScript in the context of the victim's browser when they open the malicious direct message. This can lead to unauthorized actions performed as the victim, exposure of sensitive application data within the same origin, and potentially full account takeover. The vulnerability compromises confidentiality and integrity but does not affect availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when interacting with shared prompts from other users. Because the vulnerability requires authenticated access and user interaction, limiting exposure by restricting message sharing or applying additional input sanitization server-side may reduce risk. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-06-14T20:13:15.214Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5be5372a4a8d5989425e96

Added to database: 07/18/2026, 20:42:31 UTC

Last enriched: 07/18/2026, 20:56:39 UTC

Last updated: 07/19/2026, 01:26:58 UTC

Views: 29

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses