Stored XSS in parisneo/lollms
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-1115
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:17 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-1115
Complete source record
{
"id": "7afd4549b510b13a072444d8396efad83cd85bad333579c108eea8184e2d4457",
"url": "https://osv.dev/vulnerability/CVE-2026-1115",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Stored XSS in parisneo/lollms",
"summary": "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.",
"evidence": "osv:CVE-2026-1115",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-1115",
"aliases": [
"CVE-2026-1115",
"GHSA-8wrq-fv5f-pfp2",
"PYSEC-2026-401"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/parisneo/lollms",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9767b882dbc893c388a286856beeaead69b8292a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9767b882dbc893c388a286856beeaead69b8292a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.1.0",
"v2.0.0",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1115.json"
}
}
],
"modified": "2026-10-28T02:30:40.344069430Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aa",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1115.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-1115",
"https://github.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1115.json"
}
},
"related_cves": [
{
"value": "CVE-2026-1115",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507929,
"published_at": "2026-04-10T06:23:13.463+00:00"
}