Live threats

All CVEs / Khoj

CVE-2024-25639Khoj

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Jul 8, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-80, CWE-77, CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Khoj.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
khojkhoj< 1.13.0

Official sources

References

Links published by the sources. Open them with care.