PyPi: Khoj

CVE-2024-43396

Safety vulnerability ID: 72980

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 20, 2024 Updated at Feb 18, 2025
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of Khoj contain a vulnerability in the Automation feature that allows users to inject arbitrary HTML or JavaScript, leading to Stored Cross-site Scripting (XSS) attacks. This issue occurs because the q parameter in the /api/automation endpoint was not properly sanitized when rendered on the page.

Affected package

khoj

Latest version: 1.36.6

Your Second Brain

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 5.4

CVSS v3 Details

MEDIUM 5.4
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE