CVE-2024-3570

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3570
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3570.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-3570
Published
2024-04-10T17:15:58Z
Modified
2025-05-19T04:01:31Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/mintplex-labs/anything-llm

Affected ranges

Type
GIT
Repo
https://github.com/mintplex-labs/anything-llm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed