VULNERABILITY INTELLIGENCE
CVE-2024-43396
CVSS score5.4 MEDIUM
EPSS probability0.55%
CISA KEVNot currently listed
Published2024-08-20
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Description
Khoj is an application that creates personal AI agents. The Automation feature allows a user to insert arbitrary HTML inside the task instructions, resulting in a Stored XSS. The q parameter for the /api/automation endpoint does not get correctly sanitized when rendered on the page, resulting in the ability of users to inject arbitrary HTML/JS. This vulnerability is fixed in 1.15.0.
Weakness classification
- security-advisories@github.com: CWE-79
- nvd@nist.gov: CWE-79
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Patch
- security-advisories@github.com — Exploit, Vendor Advisory