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 c
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lollms | all versions | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6581
- https://github.com/parisneo/lollms/commit/328b960a0de2097e13654ac752253e9541521ddd
- https://github.com/parisneo/lollms
- https://github.com/pypa/advisory-database/tree/main/vulns/lollms/PYSEC-2024-116.yaml
- https://huntr.com/bounties/ad68ecd6-44e2-449b-8e7e-f2b71b1b43c7
- https://github.com/advisories/GHSA-cm59-8rmv-f2cj
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
lollms- Disclosed
- 29.10.2024
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cm59-8rmv-f2cj - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-116 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: lollms
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 24
- First → latest
- 05.2024 04.2026
- Without a fix
- 9
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 12
- Medium 5
- Low 1
Disclosures per year
- 2024: 14
- 2025: 2
- 2026: 8
-
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 c this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.