Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-25639
khoj

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)0.79%
within the next 30 days
CategoryCode execution & injection
Published8 July 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Special conditions are required for a successful attack, which makes exploitation harder.

Weakness type: Command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-80, CWE-77 – Command injection, CWE-79 – Cross-site scripting (XSS)

Affected products

VendorProductVersions
khojkhoj<1.13.0

Sources

Latest in the same category

  • CVE-2026-140281 Critical 9.2
    GPT-SoVITS through 20250606v2pro contains an unsafe deserialization vulnerability in the api.py /set_model endpoint that allows unauthenticated attackers to load arbitrary model checkpoints. Attackers can set…
    Code execution & injection · 1 December 2026
  • CVE-2026-121479 Medium 6.3
    A flaw was found in sequoia-sq. This vulnerability can lead to arbitrary code execution when the tool displays suggested command hints derived from untrusted inputs, such as user identities. Because command arguments…
    Code execution & injection · 1 December 2026
  • CVE-2026-139863 Medium 5.5
    A weakness has been identified in itsourcecode Stock Management System 1.0. This affects an unknown part of the file php_action/fetchProductImageUrl.php. This manipulation of the argument i causes sql injection. The…
    Code execution & injection · 30 November 2026
  • CVE-2026-139862 Medium 5.5
    A vulnerability was identified in itsourcecode Stock Management System 1.0. Affected by this vulnerability is an unknown functionality of the file php_action/fetchSelectedCategories.php. The manipulation of the…
    Code execution & injection · 30 November 2026
  • CVE-2026-139861 Medium 5.5
    A vulnerability was determined in itsourcecode Stock Management System 1.0. Affected is an unknown function of the file php_action/fetchSelectedBrand.php. Executing a manipulation of the argument brandId can lead to…
    Code execution & injection · 30 November 2026
  • CVE-2026-139860 Medium 5.5
    A vulnerability was found in itsourcecode Stock Management System 1.0. This impacts an unknown function of the file php_action/fetchOrderData.php. Performing a manipulation of the argument orderId results in sql…
    Code execution & injection · 30 November 2026