CVE-2024-9900 Details
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.
A Cross-Site Scripting (XSS) vulnerability has been identified in mudler/localai version 2.21.1. This issue arises from inadequate sanitization of user input in the search feature, allowing the injection and execution of arbitrary JavaScript. Exploitation of this vulnerability could result in the execution of malicious scripts within the context of the user's browser, potentially compromising user sessions, stealing session cookies, redirecting users to harmful websites, or manipulating the Document Object Model (DOM).
Users can update to the latest version of mudler/localai, where this vulnerability has been addressed. Instructions for updating can be found in the project's documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/b39cd230-db66-471b-89b9-24afaa078e68 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515 | [email protected] | Patch |
| https://huntr.com/bounties/b39cd230-db66-471b-89b9-24afaa078e68 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mudler localai | 2.21.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 4, 2025 | CVE Modified | [email protected] |
| Apr 3, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | New CVE Received | [email protected] |