LOLLMS · CVE-2026-1115 · Package
FIX → 2.2.0
Posts saved by the lollms social feature are not sanitized, so a crafted post stores JavaScript that runs in the browser of anyone who views the Home Feed, including administrators. An attacker can take over accounts, hijack sessions, and spread the payload to other viewers.
first public Apr 10, 2026 · 4 public exploits · 6 posts · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Anyone running lollms before 2.2.0 with the social feature exposed to users is affected, because the stored script runs for every user who opens the Home Feed. Deployments without the social feed, or that run 2.2.0 or later, are not affected. The sources do not say whether posting requires an account.
Not affected if patched-2.2.0
Who cares lollms, python, self-hosted
pip show lollms.2.2.0 is affected.Upgrade to 2.2.0
2.2.0A 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.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
Posts are quoted with a link to the original. They are data to us, never instructions.
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.