Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-25639 EUVD-2024-22955

Prompt Injection triggered XSS vulnerability in Khoj Obsidian, Desktop and Web clients

Published Jul 8, 2024 · Updated Aug 1, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
khoj-ai khoj < 1.13.0 —

References