# CVE-2024-5125: XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-14T17:36:04.963Z
- Modified: 2026-06-17T08:15:15.073Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

parisneo/lollms-webui version 9.6 is vulnerable to Cross-Site Scripting (XSS) and Open Redirect due to inadequate input validation and processing of SVG files during the upload process. The XSS vulnerability allows attackers to embed malicious JavaScript code within SVG files, which is executed upon rendering, leading to potential credential theft and unauthorized data access. The Open Redirect vulnerability arises from insufficient URL validation within SVG files, enabling attackers to redirect users to malicious websites, thereby exposing them to phishing attacks, malware distribution, and reputation damage. These vulnerabilities are present in the application's functionality to send files to the AI module.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms-webui: from unspecified before 9.8
- parisneo lollms-webui: before 9.8
- lollms lollms-webui: 9.6

## Every score

- @huntr_ai: CVSS:3.0 7.3 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`

## References

- <https://huntr.com/bounties/e6ae8cfd-9f8b-41df-a0cc-1e7a47416995> (exploit, third-party-advisory)
- <https://github.com/parisneo/lollms-webui/commit/9b0f6c4ad1b9a2cd3466dcefaa278df30feed67e> (patch)

## Sources

- CVE List: [CVE-2024-5125](https://www.cve.org/CVERecord?id=CVE-2024-5125), CVE Terms of Use, modified 2025-12-23
- NVD: [CVE-2024-5125](https://nvd.nist.gov/vuln/detail/CVE-2024-5125), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5125 · Whole record: https://cve.day/CVE-2024-5125.json · Rebuilt by cve.day 2026-11-25T22:58:48.273Z
