Stored XSS leading to Admin Account Takeover in mintplex-labs/anything-llm
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
A stored Cross-Site Scripting (XSS) vulnerability exists in the chat functionality of the mintplex-labs/anything-llm repository, allowing attackers to execute arbitrary JavaScript in the context of a user's session. By manipulating the ChatBot responses, an attacker can inject malicious scripts to perform actions on behalf of the user, such as creating a new admin account or changing the user's password, leading to a complete takeover of the AnythingLLM application. The vulnerability stems from the improper sanitization of user and ChatBot input, specifically through the use of `dangerouslySetInnerHTML`. Successful exploitation requires convincing an admin to add a malicious LocalAI ChatBot to their AnythingLLM instance.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mintplex-labs | mintplex-labs/anything-llm | before a4ace56a401ffc8ce0082d7444159dfd5dc28834 | a4ace56a401ffc8ce0082d7444159dfd5dc28834 | Patch available | CNA |
- mintplex-labs/anything-llm Vendormintplex-labs Affected before a4ace56a401ffc8ce0082d7444159dfd5dc28834 Fixed in a4ace56a401ffc8ce0082d7444159dfd5dc28834 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* | before 1.0.0 | Vulnerable | mintplex-labs |
- cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* Versions before 1.0.0 Vulnerable ·mintplex-labs
Remediation
- Fix · CNA mintplex-labs/anything-llm (mintplex-labs) Fixed in a4ace56a401ffc8ce0082d7444159dfd5dc28834
Timeline
- 2026-10-02 Threatist record created from CVE-2024-3570
- 2026-10-03 Alias added: GHSA-wx55-ppw9-52p9
References
More mintplex-labs Anythingllm vulnerabilities
- TI-2024-02840 Improper Authorization in mintplex-labs/anything-llm CVSS 3.1CRITICAL 9.4
- TI-2024-03075 Improper Access Control in mintplex-labs/anything-llm CVSS 3.0CRITICAL 9.1
- TI-2023-05368 Improper Input Validation in mintplex-labs/anything-llm CVSS 3.1CRITICAL 9.1
- TI-2026-19731 AnythingLLM has key leak in `systemSettings.js` CVSS 4.0HIGH 8.7
- TI-2024-02907 Remote Code Execution in mintplex-labs/anything-llm CVSS 3.1CRITICAL 9.8
- TI-2024-02832 Path Traversal in mintplex-labs/anything-llm CVSS 3.0CRITICAL 9.9
Sources
- CVE-2024-3570 · CVE Program
- CVE-2024-3570 · NVD
- FIRST EPSS
- GHSA-wx55-ppw9-52p9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences