CVE-2024-6581

Source
https://cve.org/CVERecord?id=CVE-2024-6581
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6581.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6581
Aliases
Published
2024-10-29T13:15:07.840Z
Modified
2026-04-10T05:19:23.568328Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 sanitizesvg function, this can lead to cross-site scripting (XSS) vulnerabilities, which in turn pose a risk of remote code execution. The sanitizesvg 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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6581.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.9"
            }
        ]
    }
]