SCA: security update for khoj (GHSA-cf72-vg59-4j4h)

medium Tenable Self-Hosted Container Security Plugin ID 413847

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-43396)

See Also

https://github.com/advisories/GHSA-cf72-vg59-4j4h

Plugin Details

Severity: Medium

ID: 413847

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2024-43396

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/20/2024

Vulnerability Publication Date: 8/20/2024

Reference Information

CVE: CVE-2024-43396

cwe: CWE-79