VDB

CVE-2024-9900

CVE-2024-9900 PUBLISHED CVSS 5.4 MEDIUM

Cross-Site Scripting (XSS) in mudler/localai

Reported by @huntr_ai · Published March 20, 2025

github.com/mudler/LocalAI is fixed in 2.22.0 (Go Modules)

mudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The vulnerability arises due to improper sanitization of user input, allowing the injection and execution of arbitrary JavaScript code. This can lead to the execution of malicious scripts in the context of the victim's browser, potentially compromising user sessions, stealing session cookies, redirecting users to malicious websites, or manipulating the DOM.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/mudler/LocalAIGo Modules2.22.0
mudler/localaimudler2.22.0

Risk scores

CVSS 3.0
5.4
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
mudlermudler/localaiunspecified
mudlermudler/localai*
github.commudler/LocalAI0

Timeline

  • Mar 20, 2025 CVE Published
  • Mar 20, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 21, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Apr 4, 2025 CVE Updated
  • Apr 4, 2025 PoC Published
  • Mar 11, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-9900
vulnetix vdb fixes CVE-2024-9900

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-9900/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›