# CVE-2024-3570: Stored XSS leading to Admin Account Takeover in mintplex-labs/anything-llm

- Severity: None 0.0 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-10T17:08:15.109Z
- Modified: 2026-06-17T07:44:32.250Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- mintplex-labs mintplex-labs/anything-llm: from unspecified before a4ace56a401ffc8ce0082d7444159dfd5dc28834
- mintplexlabs anythingllm: before 1.0.0

## Every score

- @huntr_ai: CVSS:3.0 0.0 None `CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/f0eaf552-aaf3-42b6-a5df-cfecd2de15ee> (exploit, third-party-advisory)
- <https://github.com/mintplex-labs/anything-llm/commit/a4ace56a401ffc8ce0082d7444159dfd5dc28834> (patch)

## Sources

- CVE List: [CVE-2024-3570](https://www.cve.org/CVERecord?id=CVE-2024-3570), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-3570](https://nvd.nist.gov/vuln/detail/CVE-2024-3570), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3570 · Whole record: https://cve.day/CVE-2024-3570.json · Rebuilt by cve.day 2026-11-25T22:58:39.066Z
