CVE-2024-9900 json
Cross-Site Scripting (XSS) in mudler/localai
published 2025-03-20 19 mo ago modified 2026-06-17 4 mo ago also GHSA-w6hh-w36c-vxmw , GO-2025-3542 , EUVD-2025-6839
- cvss
- 5.4
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mudler/LocalAI 2.22.0
- mudler mudler/localai 2.22.0
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250327T184518-1.1
opensuse advisories openSUSE-SU-2025:14937-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/b39cd230-db66-471b-89b9-24afaa078e68 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mudler/LocalAI | <2.22.0 all versions |
2.22.0 |
Affected products
- mudler mudler/localai
Classification
References
-
github.com
/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515
web, patch
-
huntr.com
/bounties/b39cd230-db66-471b-89b9-24afaa078e68
exploit, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-9900
advisory
-
github.com
/mudler/LocalAI
package
-
github.com
/advisories/GHSA-w6hh-w36c-vxmw
advisory
Sources
- CVE List CVE-2024-9900
- GitHub Advisory GHSA-w6hh-w36c-vxmw
- NVD CVE-2024-9900
- OSV GO-2025-3542
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.