SecurityContext

CVE-2024-3110: mintplex-labs anything-llm - Stored XSS

  • Cve: CVE-2024-3110
  • Name: mintplex-labs anything-llm - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript in the context of another user's session, potentially stealing tokens and hijacking accounts.
  • Remediation: Update to version 1.0.0 or later, and implement proper URL sanitization and validation.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: user_interaction
  • Requirements: User with manager role must click on malicious link
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Epss score: 0.00668
  • Epss percentile: 0.5285
  • Assignee: [email protected]
  • Published at: 2024-06-06T19:15:59Z
  • Age in days: 901
  • Modified at: 2026-06-17T07:43:19Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-3110
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/c2895978-364d-412d-8825-c806606bcb85nvd2024-06-06

References

UrlSourceTags
https://github.com/mintplex-labs/anything-llm/commit/49f30e051c9f6e28977d57d0e5f49c1294094e41nvdPatch
https://huntr.com/bounties/c2895978-364d-412d-8825-c806606bcb85nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mintplexlabs:anythingllm< 1.0.0nonvd/v1/products/mintplexlabs/anythingllm

Projects

RepositoryLink kindsIndexedUrl
Mintplex-Labs/anything-llmcommit, fixyes/v1/repositories/Mintplex-Labs/anything-llm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-06
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts