Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. khoj
  4. ›
  5. CVE-2024-43396

CVE-2024-43396: Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)

August 20, 2024

The Automation feature allows a user to insert arbitrary HTML inside the task instructions, resulting in a Stored XSS.

References

  • github.com/advisories/GHSA-cf72-vg59-4j4h
  • github.com/khoj-ai/khoj
  • github.com/khoj-ai/khoj/commit/1c7a562880eeb7354325545d2cf6c5d1d1134812
  • github.com/khoj-ai/khoj/commit/55be90cdd2f9d6a09c8bf9ceea52fc36b9201626
  • github.com/khoj-ai/khoj/security/advisories/GHSA-cf72-vg59-4j4h
  • nvd.nist.gov/vuln/detail/CVE-2024-43396

Code Behaviors & Features

Detect and mitigate CVE-2024-43396 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.15.0

Fixed versions

  • 1.15.0

Solution

Upgrade to version 1.15.0 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/khoj/CVE-2024-43396.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.