Home

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.

PUBLISHED Reserved 2024-02-08 | Published 2024-07-08 | Updated 2024-08-01 | Assigner GitHub_M




MEDIUM: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L

Problem types

CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Product status

< 1.13.0
affected

References

github.com/...i/khoj/security/advisories/GHSA-h2q2-vch3-72qm

github.com/...ommit/1dfd6d7391862d3564db7f4875216880b73cb6cc

github.com/...i/khoj/security/advisories/GHSA-h2q2-vch3-72qm

github.com/...ommit/1dfd6d7391862d3564db7f4875216880b73cb6cc

cve.org (CVE-2024-25639)

nvd.nist.gov (CVE-2024-25639)

Download JSON