CVE-2024-5125: XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5125?
CVE-2024-5125 is considered a high severity vulnerability due to its potential for exploitation through Cross-Site Scripting (XSS) and Open Redirect.
How do I fix CVE-2024-5125?
To fix CVE-2024-5125, ensure proper input validation and sanitization of SVG file uploads to prevent the execution of malicious JavaScript.
What types of vulnerabilities are present in CVE-2024-5125?
CVE-2024-5125 contains Cross-Site Scripting (XSS) and Open Redirect vulnerabilities as a result of inadequate input validation.
Which versions of lollms-webui are affected by CVE-2024-5125?
CVE-2024-5125 affects lollms-webui version 9.6.
What is the impact of CVE-2024-5125 on users?
The impact of CVE-2024-5125 includes potential execution of malicious scripts that can compromise user data and application integrity.