CVE-2024-5711 Stored XSS in stitionai/devika

High 8.1 Published Updated

Attackers can inject malicious scripts into the chat feature to steal credentials and sensitive data from user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-5711?

CVE-2024-5711 is a high-severity cross-site scripting vulnerability in stitionai/devika, published on 8 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A stored Cross-Site Scripting (XSS) vulnerability exists in the stitionai/devika chat feature, allowing attackers to inject malicious payloads into the chat input. This vulnerability is due to the lack of input validation and sanitization on both the frontend and backend components of the application. Specifically, the application fails to sanitize user input in the chat feature, leading to the execution of arbitrary JavaScript code in the context of the user's browser session. This issue affects all versions of the application. The impact of this vulnerability includes the potential for stolen credentials, extraction of sensitive information from chat logs, projects, and other data accessible through the application.

Weakness: CWE-79

Which versions are affected by CVE-2024-5711?

It affects 1 product.

Products include Stitionai Devika.

How do I fix CVE-2024-5711?

No fix has been published for CVE-2024-5711 yet. Limit exposure of the affected software until one is available.

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-5711 being exploited?

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

Sources

Also known as GHSA-wwj9-v5mc-qrpm.

Is CVE-2024-5711 in your software?

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

Check your SBOMs for free