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)
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.013, 70.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lollms
- Parisneo Parisneo/lollms — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aa (Exploit, Third Party Advisory)
- github.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a (Patch)