What’s Vulnerable › Vulnerabilities
CVE-2024-9900: Cross-Site Scripting (XSS) in mudler/localai
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-20 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- mudler/localai: 2.21.1
References
- https://github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515
- https://huntr.com/bounties/b39cd230-db66-471b-89b9-24afaa078e68
- https://huntr.com/bounties/b39cd230-db66-471b-89b9-24afaa078e68
Get alerted when CVE-2024-9900 or the next vulnerability affects your stack