published 20 Mar 2025 · updated 4 Apr 2025
Cross-Site Scripting (XSS) in mudler/localai
5.4MediumCVSS 5.4EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.22.0.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mudler | <2.22.0 | 2.22.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket