| Component | AnythingLLM |
| Severity | medium (CVSS 5.4) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Published (NVD) | 2024-02-26 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.0.0 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 1.0.0 |
| Weakness | CWE-79 |
| CISA KEV | not listed |
NVD description
User can send a chat that contains an XSS opportunity that will then run when the chat is sent and on subsequent page loads. Given the minimum requirement for a user to send a chat is to be given access to a workspace via an admin the risk is low. Additionally, the location in which the XSS renders is only limited to the user who submits the XSS. Ultimately, this attack is limited to the user attacking themselves. There is no anonymous chat submission unless the user does not take the minimum steps required to protect their instance.
What to do
- Upgrade AnythingLLM to
1.0.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.