CVE-2024-0435 User can submit message to self-XSS

High 8.1 Published Updated

Users can inject scripts into their own chat messages, resulting in self-XSS that executes only for the submitting user.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-0435?

CVE-2024-0435 is a high-severity cross-site scripting vulnerability in Mintplexlabs Anythingllm, published on 25 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2024-0435?

It affects 1 product.

Products include Mintplexlabs Anythingllm.

How do I fix CVE-2024-0435?

Apply the vendor's patch.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-0435 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0435 exists.

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-m8mq-5vgv-8w3r, MINI-cc7v-5852-px9v.

Is CVE-2024-0435 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free