CVE-2024-6581: Lollms vulnerable to Cross-site Scripting

CVE-2024-6581 · Severity: low · CVSS 3.1 · Published 2024-10-29

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.

Technologies: lollms (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-6581 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-6581 being exploited in the wild.
How severe is CVE-2024-6581?
Low severity, with a CVSS score of 3.1, published 29 October 2024.
Which products and versions are affected?
lollms (PyPI) ECOSYSTEM:introduced=0,last_affected=9.5.1, GIT:introduced=0,fixed=328b960a0de2097e13654ac752253e9541521ddd|ECOSYSTEM:introduced=0.
Is there a fix for CVE-2024-6581?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-6581?
Check whether you run lollms (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • lollms (PyPI) ECOSYSTEM:introduced=0,last_affected=9.5.1, GIT:introduced=0,fixed=328b960a0de2097e13654ac752253e9541521ddd|ECOSYSTEM:introduced=0

Identifiers

  • CVE-2024-6581
  • GHSA-cm59-8rmv-f2cj
  • PYSEC-2024-116

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.