MEDIUM6.1
PYSEC-2026-2200
Quick fix
PYSEC-2026-2200 — lollms: upgrade to the fixed version with the command below.
pip install --upgrade 'lollms>=2.1.1'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.
Are you affected?
Enter the version of the package you're using.