cve/2024/CVE-2024-25639.md

18 lines
1023 B
Markdown
Raw Normal View History

2024-08-05 18:41:32 +00:00
### [CVE-2024-25639](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-25639)
![](https://img.shields.io/static/v1?label=Product&message=khoj&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.13.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-80%3A%20Improper%20Neutralization%20of%20Script-Related%20HTML%20Tags%20in%20a%20Web%20Page%20(Basic%20XSS)&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/khoj-ai/khoj/security/advisories/GHSA-h2q2-vch3-72qm
#### Github
No PoCs found on GitHub currently.