CVE-2024-9900 – github.com/mudler/localai
Package
Manager: go
Name: github.com/mudler/localai
Vulnerable Version: >=0 <2.22.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00042 pctl0.1198
Details
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.
Metadata
Created: 2025-03-20T12:32:51Z
Modified: 2025-03-21T03:39:11Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-w6hh-w36c-vxmw/GHSA-w6hh-w36c-vxmw.json
CWE IDs: ["CWE-115", "CWE-79"]
Alternative ID: GHSA-w6hh-w36c-vxmw
Finding: F184
Auto approve: 1