XSS in Lollms

CVE-2026-1115

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (33.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-1115?
CVE-2026-1115 is a critical-severity vulnerability in Lollms, classified under Cross-site Scripting. CVSS score: 9.6/10. Published 2026-04-10.
How severe is CVE-2026-1115?
Critical severity. CVSS v3 base score is 9.6 out of 10.