CVE-2024-6581
published medium CVSS 3.0 · 6.5Remote Code Execution due to Stored XSS in parisneo/lollms
Package status and fixes
Description
A vulnerability in the discussion image upload function of the Lollms application, version v9.9, allows for the uploading of SVG files. Due to incomplete filtering in the sanitize_svg function, this can lead to cross-site scripting (XSS) vulnerabilities, which in turn pose a risk of remote code execution. The sanitize_svg function only removes script elements and 'on*' event attributes, but does not account for other potential vectors for XSS within SVG files. This vulnerability can be exploited when authorized users access a malicious URL containing the crafted SVG file.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| parisneo | parisneo/lollms | unspecified to < 9.9 (affected · custom) | @huntr_ai · cna |
| parisneo | lollms | 0 to < 9.9 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2@huntr_ai · cna
Remote Code Execution due to Stored XSS in parisneo/lollms
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a5b8ff9c05652bdbdb15fd25f2c11249fcbabbc552f9fc353ced580173b63aef
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record