Description
A Cross-site Scripting (XSS) vulnerability was identified in the `from_dict` method of the `AppLollmsMessage` class in parisneo/lollms prior to version 2.2.0. The vulnerability arises from the lack of sanitization or HTML encoding of the `content` field when deserializing user-provided data. This allows an attacker to inject malicious HTML or JavaScript payloads, which can be executed in the context of another user's browser. Exploitation of this vulnerability can lead to account takeover, session hijacking, or wormable attacks.
Published: 2026-04-12
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑site scripting allowing malicious script execution in victims’ browsers, potentially leading to account takeover or session hijacking
Action: Patch Now
AI Analysis

Impact

The CVE describes an XSS vulnerability in the from_dict method of AppLollmsMessage in the ParisNeo/lollms project before version 2.2.0. The flaw arises because the content field is not sanitized or HTML‑encoded when deserializing user data, permitting an attacker to inject malicious JavaScript or HTML. When the payload executes in a victim’s browser, the attacker can hijack the session, take over the account, or launch wormable attacks that spread through other users.

Affected Systems

Any deployment of ParisNeo/lollms older than version 2.2.0 is affected. The vulnerability resides in the AppLollmsMessage class within the lollms repository, and applies to installations that deserialize user‑provided message data via the from_dict method.

Risk and Exploitability

The CVSS score of 6.1 indicates a medium impact. The EPSS score of <1% suggests a low probability of exploitation. The vulnerability is remote and can be triggered by supplying crafted content over the network—most likely through HTTP requests or data import interfaces that call from_dict. Attackers need only supply malicious content; no privileged access is required, making exploitation straightforward for an attacker with network visibility. The lack of mitigation in the code means that an exploit will succeed on affected systems unless mitigated through patching or defensive filtering.

Generated by OpenCVE AI on April 18, 2026 at 09:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ParisNeo/lollms to version 2.2.0 or later
  • If an upgrade is not immediately possible, modify the from_dict method or surrounding logic to sanitize or HTML‑encode the content field before rendering
  • Apply a Content Security Policy that restricts script execution from untrusted sources
  • Configure web application firewalls to block suspicious payloads that attempt to embed scripts
  • Regularly audit logs for anomalous content injections or failed rendering attempts

Generated by OpenCVE AI on April 18, 2026 at 09:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Lollms
Lollms lollms
CPEs cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*
Vendors & Products Lollms
Lollms lollms
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Mon, 13 Apr 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Apr 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Parisneo
Parisneo parisneo/lollms
Vendors & Products Parisneo
Parisneo parisneo/lollms

Sun, 12 Apr 2026 02:45:00 +0000

Type Values Removed Values Added
Description A Cross-site Scripting (XSS) vulnerability was identified in the `from_dict` method of the `AppLollmsMessage` class in parisneo/lollms prior to version 2.2.0. The vulnerability arises from the lack of sanitization or HTML encoding of the `content` field when deserializing user-provided data. This allows an attacker to inject malicious HTML or JavaScript payloads, which can be executed in the context of another user's browser. Exploitation of this vulnerability can lead to account takeover, session hijacking, or wormable attacks.
Title Cross-site Scripting (XSS) in parisneo/lollms
Weaknesses CWE-79
References
Metrics cvssV3_0

{'score': 8.2, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}


Subscriptions

Lollms Lollms
Parisneo Parisneo/lollms
cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published:

Updated: 2026-04-13T17:49:36.132Z

Reserved: 2026-01-17T17:52:55.574Z

Link: CVE-2026-1116

cve-icon Vulnrichment

Updated: 2026-04-13T17:49:25.977Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-12T03:16:07.600

Modified: 2026-04-17T16:18:09.573

Link: CVE-2026-1116

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T09:45:25Z

Weaknesses