CVE-2024-5125 XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| parisneo lollms-webui | < 9.8 | 9.8 | Fixed |
| parisneo/lollms-webui | < 9.8 | 9.8 | Fixed |
| lollms-webui | = 9.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parisneo/lollms-webui | < 9.8 | 9.8 |
| parisneo lollms-webui | < 9.8 | 9.8 |
| lollms-webui | = 9.6 | No fix listed |
References
- huntr.com exploit third-party-advisory
- github.com patch