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.
References
Link | Resource |
---|---|
https://github.com/mintplex-labs/anything-llm/commit/49f30e051c9f6e28977d57d0e5f49c1294094e41 | Patch |
https://huntr.com/bounties/c2895978-364d-412d-8825-c806606bcb85 | Exploit Third Party Advisory |
Configurations
History
15 Oct 2024, 20:01
Type | Values Removed | Values Added |
---|---|---|
First Time |
Mintplexlabs
Mintplexlabs anythingllm |
|
CPE | cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* | |
References | () https://github.com/mintplex-labs/anything-llm/commit/49f30e051c9f6e28977d57d0e5f49c1294094e41 - Patch | |
References | () https://huntr.com/bounties/c2895978-364d-412d-8825-c806606bcb85 - Exploit, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.7 |
07 Jun 2024, 14:56
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
06 Jun 2024, 19:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-06-06 19:15
Updated : 2024-10-15 20:01
NVD link : CVE-2024-3110
Mitre link : CVE-2024-3110
CVE.ORG link : CVE-2024-3110
JSON object : View
Products Affected
mintplexlabs
- anythingllm
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')