CVE-2024-3570

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability24. percentile0.3%
ProductMintplexlabs Anythingllm
PublishedApr 10, 2024
First seenApr 10, 2024

How to fix

Update
  • mintplexlabs anythingllm1.0.0 or later

Affected products

ProductAffected versionsFixed in
mintplexlabs anythingllmv < 1.0.01.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.