XSS in Lollms Web Ui

CVE-2024-1602

parisneo/lollms-webui is vulnerable to stored Cross-Site Scripting (XSS) that leads to Remote Code Execution (RCE). The vulnerability arises due to inadequate sanitization and validation of model output data, allowing an attacker to inject malicious JavaScript code. This code can be executed within the user's browser context, enabling the attacker to send a request to the `/execute_code` endpoint and establish a reverse shell to the attacker's host. The issue affects various components of the application, including the handling of user input and model output.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.007 (50.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-1602?
CVE-2024-1602 is a medium-severity vulnerability in Lollms Web Ui, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-04-10.
How severe is CVE-2024-1602?
Medium severity. CVSS v3 base score is 6.1 out of 10.