Live threats

All CVEs / Mudler

CVE-2024-9900Mudler Localai

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
No
Published
Mar 20, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Localai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mudler/LocalAI < 2.22.0 2.22.0 go get github.com/mudler/LocalAI@v2.22.0
Go github.com/mudler/LocalAI all no fixed version —

Per OSV / GitHub Advisories (GHSA-w6hh-w36c-vxmw, GO-2025-3542). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mudlerlocalai2.21.1

Official sources

References

Links published by the sources. Open them with care.