{"id":"CVE-2024-3570","published":"2024-04-10T17:08:15Z","modified":"2024-08-01T20:12:07Z","title":"Stored XSS leading to Admin Account Takeover in mintplex-labs/anything-llm","vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":0,"severity":"NONE","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00313,"percentile":0.24814,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.com/bounties/f0eaf552-aaf3-42b6-a5df-cfecd2de15ee","tags":[]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/a4ace56a401ffc8ce0082d7444159dfd5dc28834","tags":[]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":4.96}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[">= unspecified, < a4ace56a401ffc8ce0082d7444159dfd5dc28834"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-15T21:08:58.067799Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-32155","exploited":false,"provenance":"source"}}