CVE-2024-25639

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

Published Jul 8, 2024 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-22955 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.
History
Type Values Removed Values Added
First Time appeared Khoj
Khoj khoj
Weaknesses CWE-77
CWE-79
CPEs cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*
Vendors & Products Khoj
Khoj khoj
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 1, 2024, 11:44 PM
Reserved
Feb 8, 2024, 10:26 PM
Status
Modified
Published
Jul 8, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:16 AM