Security mailing lists by PureSourceCode

CVE-2024-43396

MEDIUM 5.4CVSS 3.1

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

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.

Published
20 Aug 2024
Last modified
7 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-cf72-vg59-4j4hPYSEC-2026-1492
Sources
NVDJSONOSV GHSA-cf72-vg59-4j4hJSONOSV PYSEC-2026-1492JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
OSV PyPA CVSS 4.0 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
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD khoj khoj
cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*
< 1.15.0 1.15.0
OSV PyPI khoj < 1.15.0 1.15.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 20 Aug 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.