CVE-2024-25639CWE-80

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

Medium · published July 8, 2024

CVSS v3.1
5.9
EPSS
1%
Percentile
46.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00573 · 46.6th percentile
Weakness
CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Published
2024-07-08T14:24Z
EPSS history
Timeline
  • 08 JUL 14:24Z
    Prompt Injection triggered XSS vulnerability in Khoj Obsidian, Desktop and Web clients
    cvelistv5