github.com/mudler/LocalAI
Affected
- introduced
0, fixed2.22.0(semver)
Fixed versions
2.22.0
Fix
- Fixed version
2.22.0go get github.com/mudler/[email protected]
Advisory
Also known as: CVE-2024-9900, GO-2025-3542
LocalAI Cross-Site Scripting (XSS) vulnerability in its search functionality
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.22.0 (semver)2.22.0
2.22.0go get github.com/mudler/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0