8.2high
Cross-site Scripting (XSS) in parisneo/lollms
- Severity
- 8.2high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- PYSEC-2026-2200
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| parisneo parisneo/lollms | from unspecified before 2.2.0 | CVE List |
| lollms lollms | up to 2.1.0 | NVD |
| lollms (PyPI) | before 2.1.1 | PyPA Advisory Database |
All scores
| @huntr_ai | 8.2high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de Cross-site Scripting (XSS) fue identificada en el método ’from_dict’ de la clase ’AppLollmsMessage’ en parisneo/lollms anterior a la versión 2.2.0. La vulnerabilidad surge de la falta de saneamiento o codificación HTML del campo ’content’ al deserializar datos proporcionados por el usuario. Esto permite a un atacante inyectar cargas útiles HTML o JavaScript maliciosas, que pueden ser ejecutadas en el contexto del navegador de otro usuario. La explotación de esta vulnerabilidad puede llevar a la toma de control de cuentas, secuestro de sesión o ataques tipo gusano.
References
| https://huntr.com/bounties/d3d076a7-2a51-4e07-8d0e-91e28e76788e | evidence, exploit, third-party-advisory | |
| https://github.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a | fix, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-1116 changed 2026-04-13 | CVE Terms of Use |
| NVD | CVE-2026-1116 changed 2026-10-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2200 changed 2026-07-13 | CC-BY-4.0 |