{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-43396","published":"2024-08-20T21:15:14.897000Z","last_modified":"2026-06-17T07:50:58.010000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*","part":"a","vendor":"khoj","product":"khoj","version_end_excluding":"1.15.0"}],"cpes_truncated":false,"vendors":["khoj"],"products":["khoj/khoj"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00733,"percentile":0.50419,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cf72-vg59-4j4h","ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":["1.0"],"versions_truncated":false},{"advisory":"PYSEC-2026-1492","ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":["1.0"],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-43396/","html_en":"/en/cve/CVE-2024-43396/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-43396","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-43396"},"untrusted":{"vendor_name":"Khoj","product_name":"Khoj","desc_en":"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.","affected":[{"untrusted_vendor":"khoj-ai","untrusted_product":"khoj","versions":[]}],"references":[{"url":"https://github.com/khoj-ai/khoj/commit/1c7a562880eeb7354325545d2cf6c5d1d1134812","tags":["Patch"]},{"url":"https://github.com/khoj-ai/khoj/commit/55be90cdd2f9d6a09c8bf9ceea52fc36b9201626","tags":["Patch"]},{"url":"https://github.com/khoj-ai/khoj/security/advisories/GHSA-cf72-vg59-4j4h","tags":["Exploit","Vendor Advisory"]}]}}