# CVE-2024-3110: Stored XSS leading to admin account takeover in mintplex-labs/anything-llm

- Severity: High 7.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:11:33.357Z
- Modified: 2026-06-17T07:43:19.647Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A stored Cross-Site Scripting (XSS) vulnerability exists in the mintplex-labs/anything-llm application, affecting versions up to and including the latest before 1.0.0. The vulnerability arises from the application's failure to properly sanitize and validate user-supplied URLs before embedding them into the application UI as external links with custom icons. Specifically, the application does not prevent the inclusion of 'javascript:' protocol payloads in URLs, which can be exploited by a user with manager role to execute arbitrary JavaScript code in the context of another user's session. This flaw can be leveraged to steal the admin's authorization token by crafting malicious URLs that, when clicked by the admin, send the token to an attacker-controlled server. The attacker can then use this token to perform unauthorized actions, escalate privileges to admin, or directly take over the admin account. The vulnerability is triggered when the malicious link is opened in a new tab using either the CTRL + left mouse button click or the mouse scroll wheel click, or in some non-updated versions of modern browsers, by directly clicking on the link.

(As written by CVE List.)

## Affected

- mintplex-labs mintplex-labs/anything-llm: from unspecified before 1.0.0
- mintplexlabs anythingllm: before 1.0.0

## Every score

- @huntr_ai: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://huntr.com/bounties/c2895978-364d-412d-8825-c806606bcb85> (exploit, third-party-advisory)
- <https://github.com/mintplex-labs/anything-llm/commit/49f30e051c9f6e28977d57d0e5f49c1294094e41> (patch)

## Sources

- CVE List: [CVE-2024-3110](https://www.cve.org/CVERecord?id=CVE-2024-3110), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-3110](https://nvd.nist.gov/vuln/detail/CVE-2024-3110), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3110 · Whole record: https://cve.day/CVE-2024-3110.json · Rebuilt by cve.day 2026-11-25T22:58:41.510Z
