> CVE-2024-43396 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-08-20 21:15
MODIFIED
2024-09-03 18:19
CVSS_SCORE V3
5.4
EPSS (Prob. Exploit)
0.55%
Top 53.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-04 OSV 🔗 2026-11-08

> 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.

> AFFECTED_PRODUCTS

Khoj - Khoj
< 1.15.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-cf72-vg59-4j4h MODERATE

Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)

AFFECTED PACKAGES:
PIP / khoj
< 1.15.0
Fixed in: 1.15.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)

AFFECTED PACKAGES:
Unknown / Unknown
59 versions affected
ALIASES:
GHSA-cf72-vg59-4j4h, PYSEC-2026-1492

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/08/2024 21:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:53
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME