{"id":"CVE-2024-6581","published":"2024-10-29T12:49:01Z","modified":"2024-10-29T13:24:02Z","title":"Remote Code Execution due to Stored XSS in parisneo/lollms","vendor":"parisneo","product":"parisneo/lollms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00654,"percentile":0.52268,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.com/bounties/ad68ecd6-44e2-449b-8e7e-f2b71b1b43c7","tags":[]},{"url":"https://github.com/parisneo/lollms/commit/328b960a0de2097e13654ac752253e9541521ddd","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.45},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[">= unspecified, < 9.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-29T13:17:31.015025Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lollms","vulnerableRanges":["<=9.5.1","all versions"],"patched":[],"from":["GHSA-cm59-8rmv-f2cj","PYSEC-2024-116"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0096","exploited":false,"provenance":"source"}}