Skip to content
MediumVulnerabilityLLM-specific

CVE-2024-3570: anything-llm stored cross-site scripting in chat functionality

Identifier
CVE-2024-3570
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A stored Cross-Site Scripting (XSS) flaw in the chat functionality of mintplex-labs/anything-llm lets attackers run arbitrary JavaScript in a user's session. The flaw stems from improper sanitization of user and ChatBot input through `dangerouslySetInnerHTML`, and exploitation requires convincing an admin to add a malicious LocalAI ChatBot to their instance. Successful exploitation can lead to creating an admin account or changing a user's password, resulting in full takeover of the AnythingLLM application.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.