CVE-2024-25639

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*

History

22 Aug 2024, 14:59

Type Values Removed Values Added
First Time Khoj khoj
Khoj
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://github.com/khoj-ai/khoj/security/advisories/GHSA-h2q2-vch3-72qm - () https://github.com/khoj-ai/khoj/security/advisories/GHSA-h2q2-vch3-72qm - Exploit, Vendor Advisory
References () https://github.com/khoj-ai/khoj/commit/1dfd6d7391862d3564db7f4875216880b73cb6cc - () https://github.com/khoj-ai/khoj/commit/1dfd6d7391862d3564db7f4875216880b73cb6cc - Patch
CWE CWE-77
CWE-79
CPE cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*

08 Jul 2024, 15:49

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-08 15:15

Updated : 2024-08-22 14:59


NVD link : CVE-2024-25639

Mitre link : CVE-2024-25639


JSON object : View

Products Affected

khoj

  • khoj
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')