| Component | AnythingLLM |
| Severity | critical (CVSS 9.6) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Published (NVD) | 2024-06-06 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.4.2 from the CVE Program record written by the CNA that assigned the CVE NVD's CPE data says otherwise on some releases, where a more reliable source, or two others together, contradict it |
| Fixed in | 1.4.2 |
| Weakness | CWE-79 |
| CISA KEV | not listed |
NVD description
A Cross-Site Scripting (XSS) vulnerability exists in mintplex-labs/anything-llm, affecting both the desktop application version 1.2.0 and the latest version of the web application. The vulnerability arises from the application's feature to fetch and embed content from websites into workspaces, which can be exploited to execute arbitrary JavaScript code. In the desktop application, this flaw can be escalated to Remote Code Execution (RCE) due to insecure application settings, specifically the enabling of 'nodeIntegration' and the disabling of 'contextIsolation' in Electron's webPreferences. The issue has been addressed in version 1.4.2 of the desktop application.
What to do
- Upgrade AnythingLLM to
1.4.2or later. - Do not expose the component's API or UI to the internet without authentication in front of it.