CVE-2024-5125

XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui

State
Published
Severity
7.3 High
Published
Nov 14, 2024
Updated
Dec 23, 2025
Reserved
May 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.3 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H@huntr_ai
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:HCISA-ADP

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
parisneo/lollms-webuiparisneo
  • before 9.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.