← Vulnerability feed

Vulnerability record · CVE-2024-9900 · published 20 March 2025

CVE-2024-9900: Mudler localai cross-site scripting vulnerability

Mudler · Localai

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.

6.1 CVSS 3.1 Medium EPSS 0.54% · top 57.1% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
0.54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-9900 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-6868Mudler localai link following vulnerabilitymudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction. When model configurations spe…EPSS 1.5%9.8CVE-2024-5181Mudler localai os command injection vulnerabilityA command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backen…EPSS 2.7%9.8CVE-2024-2029Mudler localai os command injection vulnerabilityA command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the `audioToWav` function used for conver…EPSS 2.9%9.1CVE-2024-5182Mudler localai path traversal vulnerabilityA path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion…EPSS 26%8.8CVE-2024-6983Mudler localai code injection vulnerabilitymudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai backend receives inputs not only f…EPSS 1.3%6.5CVE-2024-3135Mudler localai cross-site request forgery vulnerabilityA Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when…EPSS 0.31%6.1CVE-2024-48057Mudler localai cross-site scripting vulnerabilitylocalai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a …EPSS 0.25%5.9CVE-2024-7010Mudler localai observable discrepancy vulnerabilitymudler/localai version 2.17.1 is vulnerable to a Timing Attack. This type of side-channel attack allows an attacker to compromise the cryptosystem by…EPSS 0.52%

Source: NIST National Vulnerability Database (record CVE-2024-9900), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.