What’s Vulnerable › Vulnerabilities

CVE-2024-25639: Prompt Injection triggered XSS vulnerability in Khoj Obsidian, Desktop and Web clients

Description

Khoj is an application that creates personal AI agents. The Khoj Obsidian, Desktop and Web clients inadequately sanitize the AI model's response and user inputs. This can trigger Cross Site Scripting (XSS) via Prompt Injection from untrusted documents either indexed by the user on Khoj or read by Khoj from the internet when the user invokes the /online command. This vulnerability is fixed in 1.13.0.

Affected products

How to fix

Upgrade to a fixed version: khoj-ai khoj 1.13.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-25639 or the next vulnerability affects your stack