CVE-2026-1115: Lollms Cross-Site Scripting Vulnerability

CRITICAL
Advisory Identifier: GHSA-8wrq-fv5f-pfp2
CVSS 9.6
CWE-79
Published
Advisory Summary

CVE-2026-1115 is a CRITICAL (CVSS 9.6) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Lollms libraries in the PyPI ecosystem. The issue involves parisneo/lollms vulnerable to stored xss in the social feature. Remediation is available by upgrading affected packages to version 2.2.0.

CVE-2026-1115 at a Glance

CVE Identifier CVE-2026-1115
GHSA Identifier GHSA-8wrq-fv5f-pfp2
Severity CRITICAL
CVSS v3.1 Base Score 9.6
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Lollms
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).

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

How to Fix CVE-2026-1115

To remediate this vulnerability, upgrade all affected Lollms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

lollms fixed: 2.2.0
pip install lollms>=2.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show lollms

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-1115, inspect your installed packages using pip:

pip show lollms

Analyze the terminal output to locate any version of Lollms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), your application is affected.

Note: The pip show lollms command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Lollms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A Stored Cross-Site Scripting (XSS) vulnerability was identified in the social feature of parisneo/lollms, affecting the latest version prior to 2.2.0. The vulnerability exists in the `create_post` function within `backend/routers/social/__init__.py`, where user-provided content is directly assigned to the `DBPost` model without sanitization. This allows attackers to inject and store malicious JavaScript, which is executed in the browsers of users viewing the Home Feed, including administrators. This can lead to account takeover, session hijacking, and wormable attacks. The issue is resolved in version 2.2.0.

CVE-2026-1115 Affected Lollms Versions

1 component(s)
Fixed Versions:
2.2.0
Product / Package Ecosystem Affected Versions Fixed Version
lollms
PyPI
< 2.2.0
2.2.0

References

Frequently Asked Questions

What is CVE-2026-1115?
CVE-2026-1115 is a security vulnerability in Lollms involving parisneo/lollms vulnerable to stored XSS in the social feature under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Lollms versions are affected?
Affected versions include releases prior to 2.2.0 across affected packages: lollms.
What version fixes CVE-2026-1115?
Upgrading to 2.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is lollms affected?
Yes, lollms is affected in releases prior to 2.2.0. Upgrade your dependency to 2.2.0 or later.
What is the CVSS score of CVE-2026-1115?
CVE-2026-1115 has a CVSS v3.1 base score of 9.6 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-1115?
CVE-2026-1115 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check PyPI dependencies for CVE-2026-1115?
Run the dependency tree command: 'pip show lollms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8wrq-fv5f-pfp2",
  "modified" : "2026-04-10T22:11:10Z",
  "published" : "2026-04-10T09:31:15Z",
  "aliases" : [ "CVE-2026-1115" ],
  "summary" : "parisneo/lollms vulnerable to stored XSS in the social feature",
  "details" : "A Stored Cross-Site Scripting (XSS) vulnerability was identified in the social feature of parisneo/lollms, affecting the latest version prior to 2.2.0. The vulnerability exists in the `create_post` function within `backend/routers/social/__init__.py`, where user-provided content is directly assigned to the `DBPost` model without sanitization. This allows attackers to inject and store malicious JavaScript, which is executed in the browsers of users viewing the Home Feed, including administrators. This can lead to account takeover, session hijacking, and wormable attacks. The issue is resolved in version 2.2.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "lollms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-1115"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ParisNeo/lollms"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aa"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-10T22:11:10Z",
    "nvd_published_at" : "2026-04-10T07:16:20Z"
  }
}