CVE-2024-25639 MEDIUM

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

Vendor Khoj-Ai
Product khoj
Weakness CWE-80 · XSS · basic
Published July 8, 2024
Last update August 1, 2024

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 8, 2024 CVE published
August 1, 2024 Record updated