9.6critical
Stored XSS in parisneo/lollms
- Severity
- 9.6critical CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 1.29% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-8wrq-fv5f-pfp2PYSEC-2026-401
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| parisneo parisneo/lollms | from unspecified before 2.2.0 | CVE List |
| lollms (PyPI) | before 2.2.0 | GitHub Advisory Database, PyPA Advisory Database |
| lollms lollms | up to 2.1.0 | NVD |
All scores
| @huntr_ai | 9.6critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 9.6critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| PyPA Advisory Database | 9.6critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de cross-site scripting (XSS) almacenado fue identificada en la función social de parisneo/lollms, que afecta a la última versión anterior a la 2.2.0. La vulnerabilidad existe en la función ’create_post’ dentro de ’backend/routers/social/__init__.py’, donde el contenido proporcionado por el usuario es asignado directamente al modelo ’DBPost’ sin sanitización. Esto permite a los atacantes inyectar y almacenar JavaScript malicioso, que se ejecuta en los navegadores de los usuarios que ven el feed de inicio, incluidos los administradores. Esto puede llevar a la toma de control de cuentas, el secuestro de sesión y ataques tipo gusano. El problema se resuelve en la versión 2.2.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-1115 changed 2026-04-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8wrq-fv5f-pfp2 changed 2026-11-16 | CC-BY-4.0 |
| NVD | CVE-2026-1115 changed 2026-10-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-401 changed 2026-07-01 | CC-BY-4.0 |