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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.6 · lollmsNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*
References 3
- https://github.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a Patch
- https://huntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aa Exploit, Third Party Advisory
- https://huntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aa Exploit, Third Party Advisory