CVE-2026-1116

Cross-site Scripting (XSS) in parisneo/lollms

Published Apr 12, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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'}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Parisneo
Parisneo parisneo/lollms
Vendors & Products Parisneo
Parisneo parisneo/lollms
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Apr 13, 2026, 5:49 PM
Reserved
Jan 17, 2026, 5:52 PM
Status
Analyzed
Published
Apr 12, 2026, 3:16 AM
Modified
Oct 26, 2026, 10:10 PM