CVE-2024-6581Lollms Lord Of Large Language Models
Critical 9.0
Follow: this CVE · Lollms · Lollms Lord Of Large Language Models We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 9.0
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- Yes
- Published
- Oct 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Lord Of Large Language Models.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | lollms |
≤ 9.5.1 |
no fixed version | — |
| PyPI | lollms |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-cm59-8rmv-f2cj, PYSEC-2024-116). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lollms | lord_of_large_language_models | 9.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.com Exploit Third Party Advisory