Remote Code Execution due to Stored XSS in parisneo/lollms
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| parisneo | parisneo/lollms | before 9.9 | 9.9 | Patch available | CNA |
| — | lollms (PyPI) | up to 9.5.1 | — | No fix listed | GHSA-cm59-8rmv-f2cj |
- parisneo/lollms Vendorparisneo Affected before 9.9 Fixed in 9.9 Patch available CNA
- lollms (PyPI) Vendor— Affected up to 9.5.1 Fixed in — No fix listed GHSA-cm59-8rmv-f2cj
Remediation
- Fix · CNA parisneo/lollms (parisneo) Fixed in 9.9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-6581
- 2026-10-03 Alias added: GHSA-cm59-8rmv-f2cj
- 2026-10-14 EPSS moved to the 50th–90th percentile
References
More parisneo vulnerabilities
- TI-2026-00842 Improper Access Control via Weak JWT Token in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-05059 Remote Code Execution via Path Traversal in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-04029 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui CVSS 3.0CRITICAL 9.8
- TI-2024-04023 Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui CVSS 3.1CRITICAL 9.8
- TI-2024-03798 Arbitrary Code Execution in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-02196 Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui CVSS 3.0CRITICAL 9.6
Sources
- CVE-2024-6581 · CVE Program
- CVE-2024-6581 · NVD
- FIRST EPSS
- GHSA-cm59-8rmv-f2cj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences