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.
Published: 2024-08-20
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-2558 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.
Github GHSA Github GHSA GHSA-cf72-vg59-4j4h Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)
History

Tue, 03 Sep 2024 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Khoj
Khoj khoj
CPEs cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*
Vendors & Products Khoj
Khoj khoj

Wed, 21 Aug 2024 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Aug 2024 20:45:00 +0000

Type Values Removed Values Added
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.
Title Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-21T19:52:35.357Z

Reserved: 2024-08-12T18:02:04.965Z

Link: CVE-2024-43396

cve-icon Vulnrichment

Updated: 2024-08-21T19:52:31.205Z

cve-icon NVD

Status : Analyzed

Published: 2024-08-20T21:15:14.897

Modified: 2024-09-03T18:19:33.167

Link: CVE-2024-43396

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses