CVE-2024-25639
HIGH EPSS 43.0%
Published Jul 8, 20241y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
Published Jul 8, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
43.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 3
CWE-77 Command Injection Injection
CWE-79 Cross-site Scripting Injection
CWE-80
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| khoj | khoj | * | <1.13.0 |
References 2
- github.com https://github.com/khoj-ai/khoj/commit/1dfd6d7391862d3564db7f4875216880b73cb6cc
- github.com https://github.com/khoj-ai/khoj/security/advisories/GHSA-h2q2-vch3-72qm
Remediation
- github.com https://github.com/khoj-ai/khoj/commit/1dfd6d7391862d3564db7f4875216880b73cb6cc