CVE-2024-3110

Public Exploit
Stored XSS leading to admin account takeover in mintplex-labs/anything-llm

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.

Category

8.7
CVSS
Severity: High
CVSS 3.1 •
CVSS 3.0 •
EPSS 0.19%
Third-Party Advisory huntr.com
Affected: mintplex-labs mintplex-labs/anything-llm
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-3110?
CVE-2024-3110 has been scored as a high severity vulnerability.
How to fix CVE-2024-3110?
To fix CVE-2024-3110, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-3110 being actively exploited in the wild?
It is possible that CVE-2024-3110 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-3110?
CVE-2024-3110 affects mintplex-labs mintplex-labs/anything-llm.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.