Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
parisneo/lollmsunspecified – < 2.2.02.2.0CNA

Scores by source

@huntr_ai (CNA)9.6CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

exploithuntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aarefgithub.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a