PyPA Advisory Database
PYSEC-2026-2200
Details
A Cross-site Scripting (XSS) vulnerability was identified in the from_dict method of the AppLollmsMessage class in parisneo/lollms prior to version 2.2.0. The vulnerability arises from the lack of sanitization or HTML encoding of the content field when deserializing user-provided data. This allows an attacker to inject malicious HTML or JavaScript payloads, which can be executed in the context of another user's browser. Exploitation of this vulnerability can lead to account takeover, session hijacking, or wormable attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | lollms | All versions before 2.1.1 (fixed in 2.1.1) |