Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. khoj-assistant
  4. ›
  5. GHSA-564j-v29w-rqr6

GHSA-564j-v29w-rqr6: Khoj Open Redirect Vulnerability in Login Page

July 8, 2024

An attacker can use the next parameter on the login page to redirect a victim to a malicious page, while masking this using a legit-looking app.khoj.dev url. For example, https://app.khoj.dev/login?next=//example.com will redirect to the https://example.com page.

References

  • github.com/advisories/GHSA-564j-v29w-rqr6
  • github.com/khoj-ai/khoj
  • github.com/khoj-ai/khoj/blob/2667ef45449eb408ce1d7c393be04845be31e15f/src/khoj/routers/auth.py
  • github.com/khoj-ai/khoj/commit/4daf16e5f916641304e11d56a6071ad365c21a18
  • github.com/khoj-ai/khoj/security/advisories/GHSA-564j-v29w-rqr6

Code Behaviors & Features

Detect and mitigate GHSA-564j-v29w-rqr6 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.14.0

Fixed versions

  • 1.14.0

Solution

Upgrade to version 1.14.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

pypi/khoj-assistant/GHSA-564j-v29w-rqr6.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:04 +0000.